uvex_transients.phase_space.plotting.core.draw_overlay#
- uvex_transients.phase_space.plotting.core.draw_overlay(axes, overlay: Table, color)[source]#
Shade the region of the map that one measured population occupies, on every panel.
The region is the smallest one that holds
_REGION_MASSof the draws, from a kernel density estimate. A population too small or degenerate for one is shown as the box between the 16th and 84th percentiles of its two quantities.- Parameters:
axes (
numpy.ndarray) – The axes to shade on, such as the four panels ofplot_map().overlay (
astropy.table.Table) – The measurements, withlog_luminosity,log_half_timeandmeasuredcolumns, and the class name inmeta["class"].
- Returns:
A legend handle for the region, or None if the population has no measured draw.
- Return type: