Skip to content

Commit

Permalink
add spaces for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondet authored Apr 26, 2024
1 parent 125c3ae commit 32d4e30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pygama/pargen/dplms_ge_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def dplms_ge_dict(
log.debug("Applied Cuts")

bl_field = dplms_dict["bl_field"]
log.info(f"... {len(dsp_fft[bl_field].values.nda[idxs,:])} baselines after cuts")
log.info(f"... {len(dsp_fft[bl_field].values.nda[idxs, :])} baselines after cuts")

bls = dsp_fft[bl_field].values.nda[idxs, : dplms_dict["bsize"]]
bls_par = {}
Expand Down Expand Up @@ -459,13 +459,13 @@ def signal_selection(dsp_cal, dplms_dict, coeff_values):
thr = dplms_dict["dp_def"]["rt"]

idxs_ct, ct_ll, ct_hh = is_valid_centroid(centroid, centroid_lim, wsize, bsize)
log.info(f"... {len(peak_pos[idxs_ct,:])} signals after alignment")
log.info(f"... {len(peak_pos[idxs_ct, :])} signals after alignment")

idxs_pp, pp_ll, pp_hh = is_not_pile_up(peak_pos, peak_pos_neg, thr, peak_lim, wsize)
log.info(f"... {len(peak_pos[idxs_pp,:])} signals after pile-up cut")
log.info(f"... {len(peak_pos[idxs_pp, :])} signals after pile-up cut")

idxs_rt, rt_ll, rt_hh = is_valid_risetime(risetime, rt_low, perc)
log.info(f"... {len(peak_pos[idxs_rt,:])} signals after risetime cut")
log.info(f"... {len(peak_pos[idxs_rt, :])} signals after risetime cut")

idxs = idxs_ct & idxs_pp & idxs_rt
sel_dict = {
Expand Down

0 comments on commit 32d4e30

Please sign in to comment.