pipeline.hifa.heuristics.phasespwmap

Functions

combine_spwmap(scispws)

Returns a spectral window map where each science spectral window is mapped to the lowest science spectral window ID that matches its Spectral Spec.

get_spectral_spec(spw)

Extract spectral spec from spectral window name.

get_spspec_to_spwid_map(spws)

Returns a dictionary of spectral specs and their corresponding science spectral window ids.

simple_n2wspwmap(allspws, scispws, …)

snr_n2wspwmap(allspws, scispws, snrs, goodsnrs)