diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-08-30 09:52:11 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-08-30 09:52:11 -0500 |
commit | 4f36a14711c1d677ea86e2f7ae68ed01a4ed2c70 (patch) | |
tree | c3284c5eef21bddee59188f84a2dbb8ea8b3efe9 /utils | |
parent | 6f4b35002b533473d6375b99d544f154b7cfb771 (diff) | |
download | sddm-4f36a14711c1d677ea86e2f7ae68ed01a4ed2c70.tar.gz sddm-4f36a14711c1d677ea86e2f7ae68ed01a4ed2c70.tar.bz2 sddm-4f36a14711c1d677ea86e2f7ae68ed01a4ed2c70.zip |
don't sample more instrumentals than there are in the data
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/dc-closure-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/dc-closure-test b/utils/dc-closure-test index c362cdb..72ae95f 100755 --- a/utils/dc-closure-test +++ b/utils/dc-closure-test @@ -483,7 +483,7 @@ if __name__ == '__main__': nbg = {} for bg in ['signal','muon','noise','neck','flasher','breakdown']: - nbg[bg] = 100 + nbg[bg] = min(100,len(ev[ev[bg]])) contamination_pull[bg] = [] for i in range(args.n): |