Ejemplo n.º 1
0
        /// <summary>
        /// 通过载波作差求取的电离层与硬件延迟的系数。f1^2/(f1^2-f2^2)
        /// </summary>
        /// <param name="satelliteType"></param>
        /// <returns></returns>
        internal static double GetIonoAndDcbOfL2CoeffL1L2(SatelliteType satelliteType)
        {
            var    f1   = Frequence.GetFrequenceA(satelliteType);
            var    f2   = Frequence.GetFrequenceB(satelliteType);
            double f1f1 = f1.Value * f1.Value;
            double f2f2 = f2.Value * f2.Value;
            var    val  = 1.0 * f1f1 / (f1f1 - f2f2);

            return(val);
        }