chan_selection_to_frequencies¶
- chan_selection_to_frequencies(img: str, selection: str, unit: str = 'GHz') list[float] | list[str][source]¶
Convert channel selection to frequency tuples for a given CASA cube.
- Parameters:
img -- CASA cube name
selection -- Channel selection string using CASA selection syntax
unit -- Frequency unit
- Returns:
List of pairs of frequency values (float) in the desired units