v0.4.1
Pre-release
Pre-release
New features:
LHEReader.add_observable_from_function()
now expects functions with signatureobservable(truth_particles, leptons, photons, jets, met)
, wheretruth_particles
are the original particles in the LHE file, and the other arguments have smearing applied to them.- New
dof
keyword in limit functions to overwrite degrees of freedom - Trimmed sampling to remove events with largest weights
Breaking / API changes:
- Changed construction of parameter grid in limit functions to numpy's "ij" mode to make 2d and >2d cases more consistent
Bug fixes:
- Fixed bugs with efficiencies in
LHEReader