sorcha.ephemeris.simulation_constants

Attributes

RADIUS_EARTH_KM

AU_M

AU_KM

SPEED_OF_LIGHT

OBLIQUITY_ECLIPTIC

ECL_TO_EQ_ROTATION_MATRIX

EQ_TO_ECL_ROTATION_MATRIX

Functions

create_ecl_to_eq_rotation_matrix(ecl)

Creates a rotation matrix for transforming ecliptical coordinates

Module Contents

RADIUS_EARTH_KM = 6378.137[source]
AU_M = 149597870700[source]
AU_KM = 149597870.7[source]
SPEED_OF_LIGHT = 173.1446326742403[source]
OBLIQUITY_ECLIPTIC[source]
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

ECL_TO_EQ_ROTATION_MATRIX[source]
EQ_TO_ECL_ROTATION_MATRIX[source]