Package org.orekit.rugged.linesensor
Class LineSensor
- java.lang.Object
-
- org.orekit.rugged.linesensor.LineSensor
-
public class LineSensor extends Object
Line sensor model.- Author:
- Luc Maisonobe, Guylaine Prat
-
-
Constructor Summary
Constructors Constructor Description LineSensor(String name, LineDatation datationModel, Vector3D position, TimeDependentLOS los)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dumpRate(double lineNumber)
Dump the rate for the current line number.AbsoluteDate
getDate(double lineNumber)
Get the date.double
getLine(AbsoluteDate date)
Get the line number.Vector3D
getLOS(AbsoluteDate date, double i)
Get the pixel normalized interpolated line-of-sight at some date.Vector3D
getLOS(AbsoluteDate date, int i)
Get the pixel normalized line-of-sight at some date.<T extends Derivative<T>>
FieldVector3D<T>getLOSDerivatives(AbsoluteDate date, double i, DerivativeGenerator<T> generator)
Get the pixel normalized line-of-sight at some date, and their derivatives with respect to estimated parameters.<T extends Derivative<T>>
FieldVector3D<T>getLOSDerivatives(AbsoluteDate date, int i, DerivativeGenerator<T> generator)
Get the pixel normalized line-of-sight at some date, and their derivatives with respect to estimated parameters.String
getName()
Get the name of the sensor.int
getNbPixels()
Get the number of pixels.Stream<ParameterDriver>
getParametersDrivers()
Get the drivers for LOS parameters.Vector3D
getPosition()
Get the sensor position.double
getRate(double lineNumber)
Get the rate of lines scanning.
-
-
-
Constructor Detail
-
LineSensor
public LineSensor(String name, LineDatation datationModel, Vector3D position, TimeDependentLOS los)
Simple constructor.- Parameters:
name
- name of the sensordatationModel
- datation modelposition
- sensor position in spacecraft framelos
- pixels lines-of-sight in spacecraft frame- See Also:
LOSBuilder
-
-
Method Detail
-
getName
public String getName()
Get the name of the sensor.- Returns:
- name of the sensor
-
getNbPixels
public int getNbPixels()
Get the number of pixels.- Returns:
- number of pixels
-
getParametersDrivers
public Stream<ParameterDriver> getParametersDrivers()
Get the drivers for LOS parameters.- Returns:
- drivers for LOS parameters
- Since:
- 2.0
-
getLOS
public Vector3D getLOS(AbsoluteDate date, int i)
Get the pixel normalized line-of-sight at some date.- Parameters:
date
- current datei
- pixel index (must be between 0 andgetNbPixels()
- 1- Returns:
- pixel normalized line-of-sight
-
getLOS
public Vector3D getLOS(AbsoluteDate date, double i)
Get the pixel normalized interpolated line-of-sight at some date.- Parameters:
date
- current datei
- pixel index (must be between 0 andgetNbPixels()
- 1- Returns:
- pixel normalized line-of-sight
- Since:
- 2.0
-
getLOSDerivatives
public <T extends Derivative<T>> FieldVector3D<T> getLOSDerivatives(AbsoluteDate date, int i, DerivativeGenerator<T> generator)
Get the pixel normalized line-of-sight at some date, and their derivatives with respect to estimated parameters.- Type Parameters:
T
- derivative type- Parameters:
date
- current datei
- pixel index (must be between 0 andgetNbPixels()
- 1generator
- generator to use for buildingDerivative
instances- Returns:
- pixel normalized line-of-sight
-
getLOSDerivatives
public <T extends Derivative<T>> FieldVector3D<T> getLOSDerivatives(AbsoluteDate date, double i, DerivativeGenerator<T> generator)
Get the pixel normalized line-of-sight at some date, and their derivatives with respect to estimated parameters.- Type Parameters:
T
- derivative type- Parameters:
date
- current datei
- pixel index (must be between 0 andgetNbPixels()
- 1generator
- generator to use for buildingDerivative
instances- Returns:
- pixel normalized line-of-sight
- Since:
- 2.0
-
getDate
public AbsoluteDate getDate(double lineNumber)
Get the date.- Parameters:
lineNumber
- line number- Returns:
- date corresponding to line number
-
getLine
public double getLine(AbsoluteDate date)
Get the line number.- Parameters:
date
- date- Returns:
- line number corresponding to date
-
getRate
public double getRate(double lineNumber)
Get the rate of lines scanning.- Parameters:
lineNumber
- line number- Returns:
- rate of lines scanning (lines / seconds)
-
getPosition
public Vector3D getPosition()
Get the sensor position.- Returns:
- position
-
dumpRate
public void dumpRate(double lineNumber)
Dump the rate for the current line number.- Parameters:
lineNumber
- line number
-
-