Class CombinedObservationData


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

      • CombinedObservationData

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

      • getValue

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

        public double getCombinedMHzFrequency()
        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 MHz
      • 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