getEphemeris

Return to directory of Todd's CASA extensions

Reads the ASDM_EPHEMERIS table from a measurement set. See also casaEphemeris.

Usage:

au.getEphemeris(vis, ephemerisId=-1, useASDM_Ephemeris=False, verbose=True)
Inputs:
  • use_ASDM_EPHEMERIS: if True then use the ASDM_EPHEMERIS table if False, then search the FIELD subdirectory for files of the name format: EPHEMx_fieldname_MJDsec.tab.
  • ephemerisId: if specified, then limit the return values to the specified ephemeris ID
Returns 3 lists:
  • MJD seconds, RA_radian, Dec_radian

Example:

CASA <17>: mjd, ra, dec = au.getEphemeris('uid___A002_X90989d_X117c.ms')
Ephemeris 0 begins 21.550733 minutes before observation begins.
and it is 1476.000000 minutes long
CASA <22>: mjd[0]
  Out[22]: 4920435120.0
CASA <23>: ra[0]
  Out[23]: 2.1594308554000001
CASA <24>: dec[0]
  Out[24]: 0.1100817508

-- ToddHunter - 2015-01-08
Topic revision: r3 - 2015-08-21, 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