Public Member Functions | |
def | to_frequency |
def | to_velocity |
Representation of the spectral coordinate of the data (frequency axis).
Definition at line 3 of file coordinate.py.
def asap.coordinate.coordinate.to_frequency | ( | self, | |
pixel, | |||
unit = 'Hz' |
|||
) |
Convert a channel/pixel value to a frequency.
Definition at line 6 of file coordinate.py.
def asap.coordinate.coordinate.to_velocity | ( | self, | |
pixel, | |||
unit = 'km/s' |
|||
) |
Convert a channel/pixel value to a velocity.
Definition at line 14 of file coordinate.py.