Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 26, 2024
1 parent 1d77b7f commit 9b2e556
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/pygama/pargen/data_cleaning.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def generate_cuts(
parameters : dict
dictionary of the form:
.. code-block:: json
{
"output_parameter_name": {
"cut_parameter": "parameter_to_cut_on",
Expand All @@ -389,7 +389,7 @@ def generate_cuts(
or to only have a one sided cut only specify one of the low or high side
e.g.
.. code-block:: json
{
"output_parameter_name": {
"cut_parameter": "parameter_to_cut_on",
Expand All @@ -399,7 +399,7 @@ def generate_cuts(
}
alternatively can specify hit dict fields to just copy dict into output dict e.g.
.. code-block:: json
{
"is_valid_t0":{
"expression":"(tp_0_est>a)&(tp_0_est<b)",
Expand All @@ -408,7 +408,7 @@ def generate_cuts(
}
or
.. code-block:: json
{
"is_valid_cal":{
"expression":"(~is_pileup_tail)&(~is_pileup_baseline)"
Expand Down Expand Up @@ -577,7 +577,7 @@ def generate_cut_classifiers(
parameters : dict
dictionary of the form:
.. code-block:: json
{
"output_parameter_name": {
"cut_parameter": "parameter_to_cut_on",
Expand All @@ -589,7 +589,7 @@ def generate_cut_classifiers(
or to only have a one sided cut only specify one of the low or high side
e.g.
.. code-block:: json
{
"output_parameter_name": {
"cut_parameter": "parameter_to_cut_on",
Expand All @@ -599,7 +599,7 @@ def generate_cut_classifiers(
}
alternatively can specify hit dict fields to just copy dict into output dict e.g.
.. code-block:: json
{
"is_valid_t0":{
"expression":"(tp_0_est>a)&(tp_0_est<b)",
Expand All @@ -608,7 +608,7 @@ def generate_cut_classifiers(
}
or
.. code-block:: json
{
"is_valid_cal":{
"expression":"(~is_pileup_tail)&(~is_pileup_baseline)"
Expand Down

0 comments on commit 9b2e556

Please sign in to comment.