diff --git a/src/pygama/pargen/data_cleaning.py b/src/pygama/pargen/data_cleaning.py index 91e4eb4ad..83da7ed4a 100644 --- a/src/pygama/pargen/data_cleaning.py +++ b/src/pygama/pargen/data_cleaning.py @@ -373,44 +373,44 @@ def generate_cuts( Parameters ---------- data : lh5 table, dictionary of arrays or pandas dataframe - data to calculate cuts on + data to calculate cuts on parameters : dict - dictionary of the form: - { - "output_parameter_name": { - "cut_parameter": "parameter_to_cut_on", - "cut_level": number_of_sigmas, - "mode": "inclusive" or "exclusive" - } - } - number of sigmas can instead be a dictionary to specify different cut levels for low and high side - or to only have a one sided cut only specify one of the low or high side - e.g. - { - "output_parameter_name": { - "cut_parameter": "parameter_to_cut_on", - "cut_level": {"low_side": 3, "high_side": 2}, - "mode": "inclusive" or "exclusive" - } - } - alternatively can specify hit dict fields to just copy dict into output dict e.g. - { - "is_valid_t0":{ - "expression":"(tp_0_est>a)&(tp_0_esta)&(tp_0_esta)&(tp_0_esta)&(tp_0_est