GbmBurstNumber¶
- class gdt.missions.fermi.time.GbmBurstNumber(val1, val2, scale, precision, in_subfmt, out_subfmt, from_jd=False)[source]¶
Bases:
TimeUniqueRepresent date as Fermi GBM burst number
Attributes Summary
The name of the time format
Time scale.
Convert to string representation of GBM burst number
Methods Summary
fill_value(subfmt)Return a value corresponding to J2000 (2000-01-01 12:00:00) in this format.
set_jds(val1, val2)Convert burst number contained in val1 to jd1, jd2
to_value([parent, out_subfmt])Convert to string representation of GBM burst number
Attributes Documentation
- in_subfmt¶
- jd1¶
- jd2¶
- name = 'gbm_bn'¶
The name of the time format
- Type:
(str)
- out_subfmt¶
- precision¶
- scale¶
Time scale.
- subfmts = ()¶
- value¶
Convert to string representation of GBM burst number
Methods Documentation
- classmethod fill_value(subfmt)¶
Return a value corresponding to J2000 (2000-01-01 12:00:00) in this format.
This is used as a fill value for masked arrays to ensure that any ERFA operations on the masked array will not fail due to the masked value.