gnssrefl.snrfile_functions module

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)