Return to directory of Todd's CASA extensions

Uses the CASA measures tool to convert a topocentric frequency, LSRK velocity, and observing date/direction to the corresponding rest frequency. See also topoToLSRK, restToTopo, and restToLSRK.


au.topoToRest(topoFrequency, velocityLSRK, datestring, ra, dec, equinox='J2000', observatory='ALMA', prec=4, verbose=False)
  • topoFrequency: floating point value in Hz or GHz, or a string with units
  • velocityLSRK: floating point value in km/s
  • datestring: "YYYY/MM/DD/HH:MM:SS"
  • ra: string "HH:MM:SS.SSSS"
  • dec: string "DD.MM.SS.SSSS" or "DD:MM:SS.SSSS" (colons will be replaced with .)
  • prec: only used to display the value when verbose=True
Returns: the rest frequency in Hz


CASA <12>: au.topoToRest(230.547826787, -7, '2015/10/10/10:12:00',ra='05:35:20',dec='-05:00:20',verbose=True)
Warning: replacing colons with decimals in the dec field.
REST freq = 230538000062.6924Hz = 230.5380000626924 GHz
  Out[12]: 230538000062.69238

-- ToddHunter - 2016-05-11

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > RestToLSRK > TopoToLSRK > TopoToRest
Topic revision: 2016-05-11, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback