uvex_transients.phase_space.analysis.overlay.split_measurements#

uvex_transients.phase_space.analysis.overlay.split_measurements(stacked: Table) → list[Table][source]#

Split a stacked table back into one table per class.

The stacked table is the output of stack_measurements().

Parameters:

stacked (astropy.table.Table) – A stacked table, for example a map’s overlay.ecsv.

Returns:

One table per class, in order of first appearance, each with the class name in meta["class"] as measure_class() leaves it (so each can be passed to plot_map(overlays=...)).

Return type:

list of astropy.table.Table