Public Member Functions | |
| def | __init__ |
| def | convert_utc2all |
| def | convert_datetime2all |
| def | convert_ncar2all |
| def | convert_et2all |
| def | convert |
| def | add_sec |
Public Attributes | |
| et | |
| utc | |
| ncar | |
| datetime | |
| jdfloat | |
| jdstruct | |
| mjdfloat | |
| mjdstruct | |
Time representations.
* et: Ephemeride Time for SPICE since J2000 (J2000 epoch is 01-jan-2000T12:00:00.0)
* utc: String with standard format Y-m-dTH:M:S.f
* ncar: Number of Carrington rotation
* datetime: Datetime python object
* jdstruct: Astronomical Julian Day structure with .day (Julian Day number) and .time (time of the day in milliseconds)
* jdfloat: Astronomical Julian Day (float)
* mjdstruct: Modified Julian Day structure with .day (Modify Julian Day number) and .time (time of the day in milliseconds)
* mjdfloat: Modify Julian Day (float)
Must load some spice files before using it:
spice.furnsh('somePath/naif0012.tls'))
spice.furnsh('somePath/pck00010.tpc'))
| def module_timespace.Time.__init__ | ( | self | ) |
| def module_timespace.Time.add_sec | ( | self, | |
| seconds | |||
| ) |
Add seconds

| def module_timespace.Time.convert | ( | self, | |
| mode | |||
| ) |
From mode convert all other time types


| def module_timespace.Time.convert_datetime2all | ( | self | ) |
From datetime convert all other time types


| def module_timespace.Time.convert_et2all | ( | self | ) |
From ET convert all other time types


| def module_timespace.Time.convert_ncar2all | ( | self | ) |
From carrington rotation convert all other time types


| def module_timespace.Time.convert_utc2all | ( | self | ) |
From utc convert all other time types


| module_timespace.Time.datetime |
| module_timespace.Time.et |
| module_timespace.Time.jdfloat |
| module_timespace.Time.jdstruct |
| module_timespace.Time.mjdfloat |
| module_timespace.Time.mjdstruct |
| module_timespace.Time.ncar |
| module_timespace.Time.utc |
1.8.5