sorcha.ephemeris.simulation_constants
Attributes
Functions
Creates a rotation matrix for transforming ecliptical coordinates |
Module Contents
- create_ecl_to_eq_rotation_matrix(ecl)[source]
Creates a rotation matrix for transforming ecliptical coordinates to equatorial coordinates. A rotation matrix based on the solar system's ecliptic obliquity is already provided as ECL_TO_EQ_ROTATION_MATRIX.
- Parameters:
ecl (float) -- The ecliptical obliquity.
- Returns:
rotmat -- rotation matrix for transofmring ecliptical coordinates to equatorial coordinates. Array has shape (3,3).
- Return type:
numpy array/matrix of floats