gwcelery.tasks.bayestar module

Rapid sky localization with BAYESTAR.

(task)gwcelery.tasks.bayestar.localize(coinc_psd, graceid, disabled_detectors=None)[source]

Generate a rapid sky localization using BAYESTAR.

Parameters:
  • coinc_psd (byte) – contents of the input event’s coinc.xml file that includes PSD.

  • graceid (str) – The GraceDB ID, used for FITS metadata and recording log messages to GraceDB.

  • disabled_detectors (list, optional) – List of detectors to disable.

Returns:

The byte contents of the finished FITS file.

Return type:

bytes

Notes

This task is adapted from the command-line tool bayestar-localize-lvalert.

It should execute in a special queue for computationally intensive, multithreaded, OpenMP tasks.