gwcelery.tasks.skymaps module

Annotations for sky maps.

(task)gwcelery.tasks.skymaps.annotate_fits(filecontents, versioned_filename, graceid, tags)[source]

Perform annotations on a sky map.

This function downloads a FITS file and then generates and uploads all derived images as well as an HTML dump of the FITS header.

gwcelery.tasks.skymaps.is_3d_fits_file(filecontents)[source]

Determine if a FITS file has distance information.

(task)gwcelery.tasks.skymaps.annotate_fits_volume(filecontents, *args)[source]

Perform annotations that are specific to 3D sky maps.

(task)gwcelery.tasks.skymaps.fits_header(filecontents, filename)[source]

Dump FITS header to HTML.

(task)gwcelery.tasks.skymaps.plot_allsky(filecontents)[source]

Plot a Mollweide projection of a sky map using the command-line tool ligo-skymap-plot.

(task)gwcelery.tasks.skymaps.plot_volume(filecontents)[source]

Plot a 3D volume rendering of a sky map using the command-line tool ligo-skymap-plot-volume.

(task)gwcelery.tasks.skymaps.flatten(filecontents, filename)[source]

Convert a HEALPix FITS file from multi-resolution UNIQ indexing to the more common IMPLICIT indexing using the command-line tool ligo-skymap-flatten.

(task)gwcelery.tasks.skymaps.skymap_from_samples(samplefilecontents)[source]

Generate multi-resolution fits file from samples