Class AtmosphericComputationParameters


  • public class AtmosphericComputationParameters
    extends Object
    Atmospheric refraction computation parameters. Defines for inverse location a set of parameters in order to be able to perform the computation.
    Since:
    2.1
    Author:
    Guylaine Prat
    • Constructor Detail

      • AtmosphericComputationParameters

        public AtmosphericComputationParameters()
        Default constructor.
    • Method Detail

      • configureCorrectionGrid

        public void configureCorrectionGrid​(LineSensor sensor,
                                            int minLine,
                                            int maxLine)
        Configuration of the interpolation grid. This grid is associated to the given sensor, with the given min and max lines.
        Parameters:
        sensor - line sensor
        minLine - min line defined for the inverse location
        maxLine - max line defined for the inverse location
      • setGridSteps

        public void setGridSteps​(int gridPixelStep,
                                 int gridLineStep)
        Set the grid steps in pixel and line (used to compute inverse location). Overwrite the default values, for time optimization if necessary.
        Parameters:
        gridPixelStep - grid pixel step for the inverse location computation
        gridLineStep - grid line step for the inverse location computation
      • setInverseLocMargin

        public void setInverseLocMargin​(double inverseLocMargin)
        Set the margin for computation of inverse location with atmospheric refraction correction. Overwrite the default value DEFAULT_INVLOC_MARGIN. No check is done about this margin. A recommended value is around 1.
        Parameters:
        inverseLocMargin - margin in pixel size to compute inverse location with atmospheric refraction correction.
        Since:
        3.0
      • getInverseLocMargin

        public double getInverseLocMargin()
        Returns:
        the inverse location margin for computation of inverse location with atmospheric refraction correction.
        Since:
        3.0
      • getDefaultInverseLocMargin

        public double getDefaultInverseLocMargin()
        Returns:
        the default inverse location margin for computation of inverse location with atmospheric refraction correction.
        Since:
        3.0
      • getNbPixelGrid

        public int getNbPixelGrid()
        Returns:
        the size of pixel grid
      • getNbLineGrid

        public int getNbLineGrid()
        Returns:
        the size of line grid
      • getUgrid

        public double[] getUgrid()
        Returns:
        the pixel grid
      • getVgrid

        public double[] getVgrid()
        Returns:
        the line grid
      • getMinLineSensor

        public double getMinLineSensor()
        Returns:
        the min line used to compute the current grids
      • getMaxLineSensor

        public double getMaxLineSensor()
        Returns:
        the max line used to compute the current grids
      • getSensorName

        public String getSensorName()
        Returns:
        the sensor name used to compute the current grids