|
Methods defined here:
- __getattr__(self, name)
- __init__(self, name, ver=1)
- Orbit file object constructor
If the 'name' parameter contains alphanumeric characters followed
by a colon followed by a number, part before the colon is
interpreted as the orbit file name and the part after the colon as
the orbit file version. The 'ver' parameter will be ignored if a
version is given in 'name'.
If the 'name' parameter does not contain a colon, then 'name' will
be the orbit file name and the version number will be the 'ver'
parameter with a default of 1.
- __nonzero__(self)
- __repr__(self)
- The string representation of an orbit file object.
Returns the orbit file name and version.
- compute_beta_angle(self, t)
- Returns the orbit beta angle for the given time
Note: though this routine will return an answer that is likely reasonable,
the resulting beta angle should only be relied upon if t is within
the timespan of the orbit file.
- exists(self)
- Check for the existance of the orbit file.
Checks the SPSSORB directory for the existance of the proper
.dat file. Returns TRUE (1) if the file is found, FALSE (0) otherwise.
- get_fitdata(self)
- Populate 'fitdata' with a dictionary containing all the information
from the relatation fit_cat relevant to this orbit file.
- get_north_point_times(self, begin_time, end_time, step_size=3600)
- Return a list of times when the RA of north point HST's orbit is
the same as the RA of the sun.
- get_orbitdata(self)
- Populate 'orbitdata' with a dictionary containing all the information
from the relation orbit_file_c relevant to this orbit file.
- get_period(self)
- Returns the orbital period as a delta_time object.
The orbital period is derived from the g2 field in the fit_cat relation.
- get_ra_northpoint(self, t)
- returns right ascension of the northpoint for the given time.
|