pyRTX.classes.Precompute
Classes
|
A Class to perform calls to spiceypy in advance. |
- class pyRTX.classes.Precompute.Precompute(epochs: list)[source]
A Class to perform calls to spiceypy in advance.
- __init__(epochs: list)[source]
Initialization method for the class. Params: - epochs (epochs of the precomputations)
- addPosition(observer: str, target: str, frame: str, correction: str = 'CN')[source]
Method to precompute position vectors.
Params: - observer body (str) - target body (str) - frame (str) - aberration correction (str)
- addState(observer: str, target: str, frame: str, correction: str = 'CN')[source]
Method to precompute state vectors.
Params: - observer body (str) - target body (str) - frame (str) - aberration correction (str)
- addRotation(base_frame: str, target_frame: str)[source]
Method to precompute position vectors.
Params: - base_frame (str) - target_frame (str)
- precomputeSolarPressure(sc, planet, correction='LT+S')[source]
Method to perform precalculation for solar radiation pressure.
Params: - sc: object of the class Spacecraft - planet: object of the class Planet
- precomputePlanetaryRadiation(sc, planet, moving_frames=[], correction='CN')[source]
Method to perform precalculation for albedo and thermal infrared acceleration.
Params: - sc: object of the class Spacecraft - planet: object of the class Planet
- precomputeDrag(sc, planet_name, moving_frames=[], accel_frame='', correction='LT+S')[source]
Method to perform precalculation for drag acceleration.
Params: - sc: object of the class Spacecraft - planet_name: name of the body - accel_frame: frame of the acceleration
- getPosition(epoch, observer: str, target: str, frame: str, correction: str)[source]
Method to get position vector.