Usage of mjdSecondsListToDateTime

Return to directory of Todd's CASA extensions

Takes a list of MJD seconds and converts it to a list of python datetime structures. Inverse function of dateTimeListToMJDSeconds.

Usage:

au.mjdSecondsListToDateTime(mjdList)

Example:

CASA <58>: au.mjdSecondsListToDateTime([4840000000, 4840045555])
  Out[58]:
[datetime.datetime(2012, 4, 1, 12, 26, 39),
 datetime.datetime(2012, 4, 2, 1, 5, 54)]

-- ToddHunter - 2013-09-08
Topic revision: r2 - 2014-11-29, 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