gnssrefl.snrfile_functions module
- gnssrefl.snrfile_functions.compute_continuous_seconds(week, sow, week0)
Puts GPS times on a single timescale anchored to the start of week0, so that a GPS week rollover part way through a multi-day orbit file does not send the seconds back to zero.
- Parameters:
week (int or ndarray) – GPS week
sow (float or ndarray) – seconds of the GPS week
week0 (int) – GPS week the timescale is anchored to
- Returns:
seconds – seconds since the start of week0
- Return type:
float or ndarray
- class gnssrefl.snrfile_functions.constants
Bases:
object- c = 299792458
- mu = 398600500000000.0
- omegaEarth = 7.2921151467e-05
- gnssrefl.snrfile_functions.elev_limits(snroption)
For given SNR option, returns elevation angle limits
- Parameters:
snroption (integer) – snr file delimeter
- Returns:
emin (float) – minimum elevation angle (degrees)
emax (float) – maximum elevation angle (degrees)
- gnssrefl.snrfile_functions.propagate_and_azel_sp3(iX, iY, iZ, t, recv, up, East, North, oE, clight)
Vectorized SP3 orbit propagation with light-time iteration, then azimuth/elevation.
- Parameters:
iX (CubicSpline) – interpolators for satellite ECEF coordinates
iY (CubicSpline) – interpolators for satellite ECEF coordinates
iZ (CubicSpline) – interpolators for satellite ECEF coordinates
t (ndarray) – observation times (GPS seconds of week), shape (N,)
recv (ndarray) – receiver ECEF position, shape (3,)
up (ndarray) – unit vectors at receiver, shape (3,)
East (ndarray) – unit vectors at receiver, shape (3,)
North (ndarray) – unit vectors at receiver, shape (3,)
oE (float) – Earth rotation rate (rad/s)
clight (float) – speed of light (m/s)
- Returns:
elv (ndarray, shape (N,)) – elevation angles in degrees
azm (ndarray, shape (N,)) – azimuth angles in degrees [0, 360)