ConnectTool
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
module_timespace.Time Class Reference

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
 

Detailed Description

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'))

Constructor & Destructor Documentation

def module_timespace.Time.__init__ (   self)

Member Function Documentation

def module_timespace.Time.add_sec (   self,
  seconds 
)
Add seconds

Here is the call graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

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

The documentation for this class was generated from the following file: