dateTimeListToMJDSeconds

Return to directory of Todd's CASA extensions

Converts a list of datetime structures to a list of MJD seconds. Inverse function of mjdSecondsListToDateTime.

Usage:

au.dateTimeListToMJDSeconds(dateTimeList)

Example:

CASA <3>: b = au.mjdSecondsListToDateTime([4923997784.26601])
CASA <4>: au.dateTimeListToMJDSeconds(b)
   Out[4]: [4923997784.26001]

-- ToddHunter - 2014-11-29

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > DateTimeListToMJDSeconds
Topic revision: 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