Package org.orekit.rugged.refraction
Class AtmosphericComputationParameters
- java.lang.Object
-
- org.orekit.rugged.refraction.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 Summary
Constructors Constructor Description AtmosphericComputationParameters()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureCorrectionGrid(LineSensor sensor, int minLine, int maxLine)Configuration of the interpolation grid.doublegetDefaultInverseLocMargin()doublegetInverseLocMargin()doublegetMaxLineSensor()doublegetMinLineSensor()intgetNbLineGrid()intgetNbPixelGrid()StringgetSensorName()double[]getUgrid()double[]getVgrid()voidsetGridSteps(int gridPixelStep, int gridLineStep)Set the grid steps in pixel and line (used to compute inverse location).voidsetInverseLocMargin(double inverseLocMargin)Set the margin for computation of inverse location with atmospheric refraction correction.
-
-
-
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 sensorminLine- min line defined for the inverse locationmaxLine- 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 computationgridLineStep- 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
-
-