Usage of mjdsecToTimerangeComponent
Return to directory of Todd's CASA extensions
Converts one value of MJD seconds into a UT date/time string suitable for one component of
the timerange argument in plotms. See also
mjdsecToTimerange.
Usage:
au.mjdsecToTimerangeComponent(mjdsec, decimalDigits=2, includeDate=True, use_metool=True, debug=False)
- decimalDigits: how many digits to display after the decimal point
- use_metool: True=use casa tool to convert to UT, False: use formula in aU
- includeDate: True=include the YYYY/MM/DD in front of the UT time
Example:
CASA <6>: au.mjdsecToTimerangeComponent(4840000000)
Out[6]: '2012/04/01/12:26:40.00'
--
ToddHunter - 2013-09-12