diff options
author | tlatorre <tlatorre@uchicago.edu> | 2021-01-04 13:03:03 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2021-01-04 13:03:03 -0600 |
commit | 3d13f8f409d412c6d2aa3447b81e29a1a3d7b2a7 (patch) | |
tree | 7c4a216353b7a149c25148a8b2435d20ca07b196 /utils/plot-muons | |
parent | 64e5d47398a428ae7eca9e3c1251b9d9a35a823d (diff) | |
download | sddm-3d13f8f409d412c6d2aa3447b81e29a1a3d7b2a7.tar.gz sddm-3d13f8f409d412c6d2aa3447b81e29a1a3d7b2a7.tar.bz2 sddm-3d13f8f409d412c6d2aa3447b81e29a1a3d7b2a7.zip |
get rid of nhit_thresh
Diffstat (limited to 'utils/plot-muons')
-rwxr-xr-x | utils/plot-muons | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/plot-muons b/utils/plot-muons index a37f223..532400a 100755 --- a/utils/plot-muons +++ b/utils/plot-muons @@ -81,7 +81,6 @@ if __name__ == '__main__': parser.add_argument("filenames", nargs='+', help="input files") parser.add_argument("--save", action='store_true', default=False, help="save corner plots for backgrounds") parser.add_argument("--mc", nargs='+', required=True, help="atmospheric MC files") - parser.add_argument("--nhit-thresh", type=int, default=None, help="nhit threshold to apply to events before processing (should only be used for testing to speed things up)") args = parser.parse_args() setup_matplotlib(args.save) @@ -92,7 +91,7 @@ if __name__ == '__main__': evs = [] rhdr = pd.concat([read_hdf(filename, "rhdr").assign(filename=filename) for filename in args.filenames],ignore_index=True) for run, df in rhdr.groupby('run'): - evs.append(get_events(df.filename.values, merge_fits=True, nhit_thresh=args.nhit_thresh)) + evs.append(get_events(df.filename.values, merge_fits=True)) ev = pd.concat(evs) ev = correct_energy_bias(ev) ev_mc = get_events(args.mc, merge_fits=True, mc=True) |