dqrtasks.gspynettree.summary_page

Functions

save_summary_page(name, ifo, channel, ...[, ...])

Generate and save a summary page for the current run of GSpyNetTree.

dqrtasks.gspynettree.summary_page.save_summary_page(name, ifo, channel, gps_time, t_start, t_end, m_total, classifier, window_length, prediction, predicted_labels, pvalue, output_dir, plots, summary, outfile='index.html')[source]

Generate and save a summary page for the current run of GSpyNetTree.

Arguments: name – name of event of interest ifo – identifier for gravitational wave detector channel – identifier for channel within selected ifo gps_time – GPS time of event of interest t_start – GPS start time of event of interest t_end – GPS end time of event of interest m_total – Estimated mass of candidate event (in solar masses) classifier – The classifier used for training, depending on total mass of event window_length – length in seconds of longest qscan prediction – dictionary {class label: probability} representing model’s prediction predicted_labels – Labels predicted by the CNN (above the 0.5 probability threshold) pvalue – Value between 0 (DQ issue identified - glitch found) and 1 (no DQ issue identified). If a no-glitch/chirp are predicted as the only labels, this value is closer to 1. pvalue – probability event of interest is not astrophysical (glitch) output_dir – directory to fetch plots and save output page plots – name of plot files to display in summary page (must be in output_dir) summary – Actionable result with the summary of the output

Keyword arguments: outfile – Name of output file saved to output_dir (default: index.html)

Adapted from https://detchar.docs.ligo.org/dqrtasks/example-task.html#displaying-the-results