uvex_transients.utils.summary_report.SummaryReport.footprint_overlap#

SummaryReport.footprint_overlap(footprints: Mapping[str, str] | None = None, mask: NDArray[bool] | None = None) → QTable[source]#

Find what percentage of each population’s events falls inside each survey’s footprint.

This is overlap on the sky only. It does not say whether the other survey was observing the position at the time. The regions of one survey, such as the UVEX regions, can overlap each other, so a row’s percentages need not add up to 100.

Parameters:
  • footprints (Mapping of str to str, optional) – Column label and footprint registry name of each survey to compare to. The default is OVERLAP_FOOTPRINTS: the three UVEX regions, ZTF and Rubin.

  • mask (numpy.ndarray of bool, optional) – The events to count, one entry per row of the table. The default is selected.

Returns:

One row per population, in the order given, with its population label, the expected_events in mask, and a column of percentages for each footprint, named by its label. A footprint that could not be built (Rubin’s, without the rubin extra) is NaN, and a population with no events in mask is NaN in every footprint.

Return type:

QTable

Raises:

ValueError – If mask is not a boolean array with one entry per row.