diff options
Diffstat (limited to 'utils/sddm/plot_energy.py')
-rw-r--r-- | utils/sddm/plot_energy.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/sddm/plot_energy.py b/utils/sddm/plot_energy.py index 0516729..bba0e75 100644 --- a/utils/sddm/plot_energy.py +++ b/utils/sddm/plot_energy.py @@ -618,7 +618,6 @@ def get_events(filenames, merge_fits=False, nhit_thresh=None, apply_nhit_trigger ev[column] = ev[column].fillna(0) ev[column] = ev[column].astype(np.int32) # Set the index to (run, gtid) so we can set columns from the single particle results - ev = ev.set_index(['run','gtid']) ev_single_particle = ev[(ev.id2 == 0) & (ev.id3 == 0)] ev_single_particle = ev_single_particle.sort_values('fmin').groupby(['run','gtid']).nth(0) ev = ev.sort_values('fmin').groupby(['run','gtid']).nth(0) |