Redistribution and use in source and binary forms, with or without modification, are permitted provided the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file ionosphere.h.
#include "basictypes.h"
Go to the source code of this file.
Functions | |
BOOL | IONOSPHERE_GetL1KlobucharCorrection (const double alpha0, const double alpha1, const double alpha2, const double alpha3, const double beta0, const double beta1, const double beta2, const double beta3, const double latitude, const double longitude, const double elevation, const double azimuth, const double gpstow, double *ionospheric_delay) |
Given the user geodetic position, GPS time of week, the azimuth and elevation to the satellite in question, and the alpha and beta Klobuchar terms, compute the ionospheric delay for this satellite. |
BOOL IONOSPHERE_GetL1KlobucharCorrection | ( | const double | alpha0, | |
const double | alpha1, | |||
const double | alpha2, | |||
const double | alpha3, | |||
const double | beta0, | |||
const double | beta1, | |||
const double | beta2, | |||
const double | beta3, | |||
const double | latitude, | |||
const double | longitude, | |||
const double | elevation, | |||
const double | azimuth, | |||
const double | gpstow, | |||
double * | ionospheric_delay | |||
) |
Given the user geodetic position, GPS time of week, the azimuth and elevation to the satellite in question, and the alpha and beta Klobuchar terms, compute the ionospheric delay for this satellite.
alpha0 | coefficients of a cubic equation representing the amplitude of the vertical delay [s] |
alpha1 | coefficients of a cubic equation representing the amplitude of the vertical delay [s/semi-circle] |
alpha2 | coefficients of a cubic equation representing the amplitude of the vertical delay [s/semi-circle^2] |
alpha3 | coefficients of a cubic equation representing the amplitude of the vertical delay [s/semi-circle^3] |
beta0 | coefficients of a cubic equation representing the period of the model [s] |
beta1 | coefficients of a cubic equation representing the period of the model [s/semi-circle] |
beta2 | coefficients of a cubic equation representing the period of the model [s/semi-circle^2] |
beta3 | coefficients of a cubic equation representing the period of the model [s/semi-circle^3] |
latitude | user geodetic latitude [rad] |
longitude | user geodetic longitude [rad] |
elevation | elevation angle between the user and the satellite [rad] |
azimuth | azimuth angle between the user and the satellite, measured clockwise positive from the true North [rad] |
gpstow | receiver computed gps time of week [s] |
ionospheric_delay | computed ionospheric correction [m] |
Definition at line 57 of file ionosphere.c.