AlertFollowup¶
Note
Class for followup to Alert events, using a spatial prior and a fixed spectral index of 2.5 in the likelihood.
General Alert followup class¶
- class fast_response.AlertFollowup.AlertFollowup(name, skymap_path, tstart, tstop, skipped=None, seed=None, outdir=None, save=True, extension=None)[source]¶
Class for external skymap followup. By default, uses a fixed index of 2.5 in LLH. Built on the PriorFollowup class
- generate_report()[source]¶
Generates report using ReportGenerator.AlertReport attributes and the ReportGenerator Class
- ps_sens_range()[source]¶
Compute the minimum and maximum sensitivities within the 90% contour of the skymap
- Returns:
lowest sensitivity within the 90% contour of the skymap highest sensitivity within the 90% contour of the skymap
- Return type:
float, float
- run_background_trials(ntrials=1000)[source]¶
For alert events with specific time windows, just use precomputed background arrays
- Returns:
tsd – test-statistic distribution with weighting from alert event spatial prior
- Return type:
array-like
- sens_range_plot()[source]¶
For alert events, make a sensitivity plot highlighting the region where the contour lives
Track Followups (Gold and Bronze)¶
- class fast_response.AlertFollowup.TrackFollowup(name, skymap_path, tstart, tstop, skipped=None, seed=None, outdir=None, save=True, extension=None)[source]¶
Class for followup of track alert events By default, uses a fixed index of 2.5 in LLH. Assumes a probability skymap for the follow-up. Built on AlertFollowup and PriorFollowup base classes
Cascade Followups¶
- class fast_response.AlertFollowup.CascadeFollowup(name, skymap_path, tstart, tstop, skipped=None, seed=None, outdir=None, save=True, extension=None)[source]¶
Class for followup of cascade alert events By default, uses a fixed index of 2.5 in LLH. Built on the AlertFollowup and PriorFollowup base classes