Class CombinedObservationData


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

      • CombinedObservationData

        @Deprecated
        public CombinedObservationData​(CombinationType combinationType,
                                       MeasurementType measurementType,
                                       double combinedValue,
                                       double combinedFrequencyMHz,
                                       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)
        combinedFrequencyMHz - 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
      • 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
      • getCombinedMHzFrequency

        @Deprecated
        public double getCombinedMHzFrequency()
        Deprecated.
        as of 12.1, replaced by 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 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