Class CombinedObservationData


  • public class CombinedObservationData
    extends Object
    Combined observation data.
    Since:
    10.1
    Author:
    Bryan Cazabonne
    • Constructor Detail

      • CombinedObservationData

        public CombinedObservationData​(double combinedValue,
                                       double combinedFrequency,
                                       CombinationType combinationType,
                                       MeasurementType measurementType,
                                       List<ObservationData> usedData)
        Constructor.
        Parameters:
        combinedValue - combined observed value (may be Double.NaN if combined observation not available)
        combinedFrequency - frequency of the combined observation data in Hz (may be Double.NaN if combined frequency is not available)
        combinationType - combination of measurements used to build the combined observation data
        measurementType - measurement type used for the combination of measurement
        usedData - observation data used to perform the combination of measurements
        Since:
        12.1
    • Method Detail

      • getValue

        public double getValue()
        Get the combined observed value.
        Returns:
        observed value (may be Double.NaN if observation not available)
      • getCombinedFrequency

        public double getCombinedFrequency()
        Get the value of the combined frequency in MHz.

        For the single frequency combinations, this method returns the common frequency of both measurements.

        Returns:
        value of the combined frequency in Hz
        Since:
        12.1
      • getCombinationType

        public CombinationType getCombinationType()
        Get the type of the combination of measurements used to build the instance.
        Returns:
        the combination of measurements type
      • getMeasurementType

        public MeasurementType getMeasurementType()
        Get the measurement type.
        Returns:
        measurement type
      • getUsedObservationData

        public List<ObservationData> getUsedObservationData()
        Get the list of observation data used to perform the combination of measurements.
        Returns:
        a list of observation data