Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ggmarshall committed Jan 13, 2025
1 parent 5ca3dff commit 87fc82b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pygama/pargen/AoE_cal.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,8 @@ def __init__(
dep_correct: bool
Whether to correct the double escape peak into the single site band before cut determination
dt_cut: dict
Dictionary of the drift time cut parameters in the form:
{"out_param": "dt_cut", "hard": False}
Dictionary of the drift time cut parameters in the form::
{"out_param": "dt_cut", "hard": False}
where the out_param is the name of the parameter to cut on in the dataframe (should have been precalculated)
and "hard" is whether to remove these events completely for survival fraction calculations
or whether they they should only be removed in the cut determination/ A/E calibration steps
Expand Down Expand Up @@ -774,11 +774,11 @@ def time_correction(
Name of the A/E parameter to use
mode: str
Mode to use for the time correction, can be "full", "partial" or "none":
none: just use the mean of the a/e centroids to shift all the data
partial: iterate through the centroids if vary by less than 0.4 sigma
then group and take mean otherwise when a run higher than 0.4 sigma
is found if it is a single run set to nan otherwise start a new block
then group and take mean otherwise when a run higher than 0.4 sigma
is found if it is a single run set to nan otherwise start a new block
full : each run will be corrected individually
average_consecutive: average the consecutive centroids
interpolate_consecutive: interpolate between the consecutive centroids
Expand Down

0 comments on commit 87fc82b

Please sign in to comment.