Usage of ComputeLSTDay

Return to directory of Todd's CASA extensions

Computes the LST day (useful for running NRAO dopset) and LST (in hours) for a specified time/date and longitude. See also ComputeLST and lstToUT.

Usage: au.ComputeLSTDay(mjdsec=-1, date='', longitude=-67.754900000000006)
  • Parameters:
    • The time/date can be entered either as MJD seconds, or a date string
    • For date, either of these formats is valid:
      • 2011/10/15
      • 2011/10/15 05:00:00
      • 2011/10/15-05:00:00
    • If mjdsec is a string, it will be assumed to be a date string.
    • The input longitude is in degrees, where east of Greenwich is positive (default = ALMA).
  • Return value:
    • The integer LST day number (useful for running NRAO dopset, or interpreting EVLA schedules)

CASA <6>: au.ComputeLSTDay('2001/01/15')
MJD= 51924.00000, MJDseconds = 4486233600.0
LST day = 58637,  LST = 3.1173 hours (at longitude=-67.754900)
Julian day = 2451924.500000, MJD = 51924.000000, MJD seconds = 4486233600.000000
  Out[6]: 58637

-- ToddHunter - 2012-04-23
Topic revision: r3 - 2013-09-09, 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