Bases: astropy.time.TimeString
FITS format: “[±Y]YYYY-MM-DD[THH:MM:SS[.sss]][(SCALE[(REALIZATION)])]”.
ISOT with two extensions: - Can give signed five-digit year (mostly for negative years); - A possible time scale (and realization) appended in parentheses.
Note: FITS supports some deprecated names for timescales; these are translated to the formal names upon initialization. Furthermore, any specific realization information is stored only as long as the time scale is not changed.
The allowed subformats are:
See Rots et al., 2015, A&A 574:A36 (arXiv:1409.7583).
Attributes Summary
name | |
subfmts | |
value | Convert times to strings, using signed 5 digit if necessary. |
Methods Summary
format_string(str_fmt, **kwargs) | Format time-string: append the scale to the normal ISOT format. |
parse_string(timestr, subfmts) | Read time and set scale according to trailing scale codes. |
Attributes Documentation
Convert times to strings, using signed 5 digit if necessary.
Methods Documentation
Format time-string: append the scale to the normal ISOT format.
Read time and set scale according to trailing scale codes.