Skip to content

Commit

Permalink
Update how fit_threshold is stored in example singles fit file
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtrevor committed Dec 5, 2024
1 parent fb6e90b commit 04290ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/live/make_singles_significance_fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
# Set attributes to be something appropriate
f.attrs['start_date'] = 0
f.attrs['end_date'] = n_days
f.attrs['fit_threshold'] = 6.5

f['bins_edges'] = np.logspace(np.log10(min_duration),
np.log10(max_duration),
Expand All @@ -35,6 +34,7 @@
ifo_group.attrs['live_time'] = np.round(n_days * 0.7 * 86400.)
ifo_group.attrs['mean_alpha'] = alpha
ifo_group.attrs['total_counts'] = daily_counts_per_bin * n_days * n_bins
ifo_group.attrs['fit_threshold'] = 6.5

# Make daily fits datasets, this doesn't atually matter for the test, but
# means that the file format matches in case of future requirements
Expand Down

0 comments on commit 04290ea

Please sign in to comment.