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
Topic revision: r2 - 2013-09-12, 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