uvex_transients.utils.summary_report.SummaryReport.plot_sky#

SummaryReport.plot_sky(footprints: Mapping[str, SurveyFootprint | MOC] | None = None, mask: NDArray[bool] | None = None) → Figure[source]#

Plot where the detected and the selected events fall on the sky, in an Aitoff projection.

The survey regions are shaded behind the events, each with its area in the legend.

Parameters:
  • footprints (mapping of str to SurveyFootprint or mocpy.MOC, optional) – Regions to shade, keyed by legend label. Defaults to the three UVEX regions (UVEX_REGIONS), which are fetched on first use. Pass an empty mapping to draw only the events.

  • mask (numpy.ndarray of bool, optional) – Draw only the events in mask, each population in its own color, instead of the selected events over a gray backdrop of all the detected ones. Populations are drawn in the order given, so the rare ones sit on top.

Returns:

The sky map.

Return type:

matplotlib.figure.Figure