Class CRD.CRDDataBlock

  • Enclosing class:
    CRD

    public static class CRD.CRDDataBlock
    extends Object
    Data block containing a set of data contain in the CRD file.

    A data block consists of a header, configuration data and recorded data (range, angles, meteorological, etc.).

    • Constructor Detail

      • CRDDataBlock

        public CRDDataBlock()
        Constructor.
    • Method Detail

      • getHeader

        public CRDHeader getHeader()
        Get the header of the current data block.
        Returns:
        the header of the current data block
      • setHeader

        public void setHeader​(CRDHeader header)
        Set the header for the current data block.
        Parameters:
        header - the header to set
      • getConfigurationRecords

        public CRDConfiguration getConfigurationRecords()
        Get the system configuration records.
        Returns:
        the system configuration records
      • setConfigurationRecords

        public void setConfigurationRecords​(CRDConfiguration configurationRecords)
        Set the configuration records for the current data block.
        Parameters:
        configurationRecords - the configuration records to set
      • addRangeData

        public void addRangeData​(CRD.RangeMeasurement range)
        Add an entry to the list of range data.
        Parameters:
        range - entry to add
      • addMeteoData

        public void addMeteoData​(CRD.MeteorologicalMeasurement meteorologicalMeasurement)
        Add an entry to the list of meteorological data.
        Parameters:
        meteorologicalMeasurement - entry to add
      • addAnglesData

        public void addAnglesData​(CRD.AnglesMeasurement angles)
        Add an entry to the list of angles data.
        Parameters:
        angles - entry to add
      • getRangeData

        public List<CRD.RangeMeasurement> getRangeData()
        Get the range data for the data block.
        Returns:
        an unmodifiable list of range data
      • getAnglesData

        public List<CRD.AnglesMeasurement> getAnglesData()
        Get the angles data for the data block.
        Returns:
        an unmodifiable list of angles data
      • getMeteoData

        public CRD.Meteo getMeteoData()
        Get the meteorological data for the data block.
        Returns:
        an unmodifiable list of meteorological data
      • addRangeSupplementData

        public void addRangeSupplementData​(CRD.RangeSupplement rangeSupplement)
        Add an entry to the list of range supplement data.
        Parameters:
        rangeSupplement - entry to add
        Since:
        12.0
      • getRangeSupplementData

        public List<CRD.RangeSupplement> getRangeSupplementData()
        Get the range supplement data for the data block.
        Returns:
        an unmodifiable list of range supplement data
        Since:
        12.0
      • addSessionStatisticsData

        public void addSessionStatisticsData​(CRD.SessionStatistics sessionStatistics)
        Add an entry to the list of session statistics data.
        Parameters:
        sessionStatistics - entry to add
        Since:
        12.0
      • getSessionStatisticsData

        public List<CRD.SessionStatistics> getSessionStatisticsData()
        Get the session statistics data for the data block.
        Returns:
        an unmodifiable list of session statistics data
        Since:
        12.0
      • getSessionStatisticsRecord

        public CRD.SessionStatistics getSessionStatisticsRecord()
        Get the default (the first if there are many records) SessionStat record.
        Returns:
        the default (the first if there are many records) session statistics record
        Since:
        12.0
      • getSessionStatisticsRecord

        public CRD.SessionStatistics getSessionStatisticsRecord​(String systemConfigurationId)
        Get the session statistics record related to the systemConfigurationId.
        Parameters:
        systemConfigurationId - system configuration ID
        Returns:
        the session statistics record
        Since:
        12.0
      • addCalibrationData

        public void addCalibrationData​(CRD.Calibration cal)
        Add an entry to the list of calibration data.
        Parameters:
        cal - entry to add
        Since:
        12.0
      • getCalibrationData

        public List<CRD.Calibration> getCalibrationData()
        Get the calibration data for the data block.
        Returns:
        an unmodifiable list of calibration data
        Since:
        12.0
      • getCalibrationRecords

        public List<CRD.Calibration> getCalibrationRecords()
        Get the Calibration record(s) related to the default system configuration id.
        Returns:
        the Calibration record(s) related to the default system configuration id
        Since:
        12.0
      • getCalibrationRecords

        public List<CRD.Calibration> getCalibrationRecords​(String systemConfigurationId)
        Get the Calibration record(s) related to the given systemConfigurationId.
        Parameters:
        systemConfigurationId - system configuration ID
        Returns:
        the Calibration record(s)
        Since:
        12.0
      • addCalibrationDetailData

        public void addCalibrationDetailData​(CRD.CalibrationDetail cal)
        Add an entry to the list of calibration detail data.
        Parameters:
        cal - entry to add
        Since:
        12.0
      • getCalibrationDetailData

        public List<CRD.CalibrationDetail> getCalibrationDetailData()
        Get the calibration detail data for the data block.
        Returns:
        an unmodifiable list of calibration detail data
        Since:
        12.0
      • getCalibrationDetailRecords

        public List<CRD.CalibrationDetail> getCalibrationDetailRecords()
        Get the CalibrationDetail record(s) related to the default system configuration id.
        Returns:
        the CalibrationDetail record(s) related to the default system configuration id
        Since:
        12.0
      • getCalibrationDetailRecords

        public List<CRD.CalibrationDetail> getCalibrationDetailRecords​(String systemConfigurationId)
        Get the CalibrationDetail record(s) related to the given systemConfigurationId.
        Parameters:
        systemConfigurationId - system configuration ID
        Returns:
        the CalibrationDetail record(s)
        Since:
        12.0
      • getWavelength

        public double getWavelength​(CRD.RangeMeasurement range)
        Get the wavelength related to the given RangeMeasurement.
        Parameters:
        range - a RangeMeasurement
        Returns:
        the wavelength related to the given RangeMeasurement.
        Since:
        12.0