Body
- class ssapy.body.Body(mu, radius, position=<function Body.<lambda>>, orientation=<function Body.<lambda>>, harmonics=None)[source][source]
Bases:
object
A celestial body.
- Parameters:
mu (float) – Gravitational parameter of the body in m^3/s^2.
radius (float) – Radius of the body in meters.
position (callable, optional) – A callable that returns the position vector of the body in GCRF at a given time. [default: zero vector]
orientation (callable, optional) – A callable that returns the orientation matrix of the body in GCRF at a given time. [default: identity matrix]
harmonics (HarmonicCoefficients, optional) – Harmonic coefficients for the body. [default: None]