Skip to main content

Module frame

Module frame 

Source
Expand description

Frame-tagged position types.

Every position value encodes its reference frame and datum in the type name, never a bare position_m that hides the frame. SP3 products give satellite states in the ITRF/IGS-realization ECEF frame, in meters; that fact is carried by ItrfPositionM so a consumer cannot accidentally mix it with, say, a GCRS/TEME state from the core crate (which is in kilometers).

Structs§

ItrfPositionM
A position in the ITRF / IGS-realization Earth-Centered-Earth-Fixed frame, expressed in meters.
ItrfVelocityMS
A velocity in the ITRF / IGS-realization ECEF frame, in meters per second.
Wgs84Geodetic
A geodetic (ellipsoidal) position on the WGS84 datum.

Enums§

FrameValueError
Error returned when constructing frame-tagged values from invalid inputs.

Functions§

geocentric_east
East unit of the geocentric local frame for a given local up: normalize(Z x up), degenerating to +X when up is parallel to Z.
geocentric_neu_basis
Geocentric local North-East-Up basis at a receiver ECEF position, returned as (north, east, up).
geocentric_up
Geocentric local vertical at a receiver ECEF position: the position vector normalized (the spherical radial direction, out from the geocenter).
geodetic_to_itrf
Convert a WGS84 geodetic position to an ITRF/ECEF position.
itrf_to_geodetic
Convert an ITRF/ECEF position to a WGS84 geodetic position.