gcrf_to_sim_geo

ssapy.utils.gcrf_to_sim_geo(r_gcrf, t, h=10)[source][source]

Transforms a position vector in the GCRF (Geocentric Celestial Reference Frame) to a simplified geostationary-like coordinate system.

Parameters:

r_gcrf (array-like): The position vector(s) in GCRF coordinates (x, y, z) in meters.

Can be a single vector or a 2D array of vectors.

t (object): A time object containing GPS time information. Must include a gps attribute

(e.g., t.gps) that provides time values in seconds.

h (float, optional): Step size for numerical propagation in seconds. If the minimum difference

between consecutive GPS time values is smaller than h, the step size will be adjusted accordingly. Default is 10 seconds.

Returns:

np.array: A 2D array of transformed position vectors in the simplified geostationary-like

coordinate system.

Notes:

  • The function uses the Orbit class to define an orbit from Keplerian elements and propagates it using the RK78Propagator with the AccelKepler acceleration model.

  • The transformation involves calculating the rotation required to align the geostationary reference frame with the GCRF position vector.