Class AbstractDualFrequencyCombination

    • Field Detail

      • MHZ_TO_HZ

        public static final double MHZ_TO_HZ
        Mega Hertz to Hertz converter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractDualFrequencyCombination

        protected AbstractDualFrequencyCombination​(CombinationType type,
                                                   SatelliteSystem system)
        Constructor.
        Parameters:
        type - combination of measurements type
        system - satellite system
    • Method Detail

      • getName

        public String getName()
        Get the name of the combination of measurements.
        Specified by:
        getName in interface MeasurementCombination
        Returns:
        name of the combination of measurements
      • combine

        public CombinedObservationData combine​(ObservationData od1,
                                               ObservationData od2)
        Combines observation data using a dual frequency combination of measurements.
        Parameters:
        od1 - first observation data to combined
        od2 - second observation data to combined
        Returns:
        a combined observation data
      • getCombinedValue

        protected abstract double getCombinedValue​(double obs1,
                                                   Frequency f1,
                                                   double obs2,
                                                   Frequency f2)
        Get the combined observed value of two measurements.
        Parameters:
        obs1 - observed value of the first measurement
        f1 - frequency of the first measurement
        obs2 - observed value of the second measurement
        f2 - frequency of the second measurement
        Returns:
        combined observed value
      • getCombinedFrequency

        protected abstract double getCombinedFrequency​(Frequency f1,
                                                       Frequency f2)
        Get the combined frequency of two measurements.
        Parameters:
        f1 - frequency of the first measurement
        f2 - frequency of the second measurement
        Returns:
        combined frequency in MHz