astropy:docs

TimeString

class astropy.time.TimeString(val1, val2, scale, precision, in_subfmt, out_subfmt, from_jd=False)[source] [edit on github]

Bases: astropy.time.core.TimeUnique

Base class for string-like time representations.

This class assumes that anything following the last decimal point to the right is a fraction of a second.

This is a reference implementation can be made much faster with effort.

Attributes Summary

value

Methods Summary

set_jds(val1, val2) Parse the time strings contained in val1 and set jd1, jd2
str_kwargs() Generator that yields a dict of values corresponding to the calendar date and time for the internal JD values.

Attributes Documentation

value

Methods Documentation

set_jds(val1, val2)[source] [edit on github]

Parse the time strings contained in val1 and set jd1, jd2

str_kwargs()[source] [edit on github]

Generator that yields a dict of values corresponding to the calendar date and time for the internal JD values.

Page Contents