ssapy_toolkit.Coordinates.j2000_to_gcrf

ssapy_toolkit.Coordinates.j2000_to_gcrf(pos_j2000, obstime)[source]

Convert n x 3 array of J2000 (ECI) positions to GCRF coordinates.

Parameters:

pos_j2000ndarray

n x 3 array of x, y, z positions in J2000 coordinates (meters).

obstimefloat or astropy.time.Time or str

Observation time for GCRF frame. Can be GPS seconds (float, seconds since 1980-01-06 00:00:00 UTC), an astropy.time.Time object, or an ISO string.

Returns:

pos_gcrfndarray

n x 3 array of x, y, z positions in GCRF coordinates (meters).

Raises:

ValueError

If pos_j2000 is not an n x 3 array or obstime is invalid.