Convert a channel width between velocity and frequency.
- Parameters:
- spectral_res
Quantity Width of channel in velocity or frequency units.
- rest_freq
Quantity Rest frequency of the spectrum.
- Returns:
QuantitySpectral rest converted to the other units.