get_spectralspec_to_spwid_map¶
- get_spectralspec_to_spwid_map(spws: Collection) DefaultDict[str | None, list[int]][source]¶
Returns a dictionary of spectral specs mapped to corresponding spectral window IDs for requested list of spectral window objects.
- Parameters:
spws -- list of spectral window objects
- Returns:
dictionary with spectral spec as keys, and corresponding
list of spectral window IDs as values.