Package org.orekit.rugged.los
Class FixedRotation
- java.lang.Object
-
- org.orekit.rugged.los.FixedRotation
-
- All Implemented Interfaces:
TimeIndependentLOSTransform
public class FixedRotation extends Object implements TimeIndependentLOSTransform
LOS transform
based on a fixed rotation.- Author:
- Luc Maisonobe
- See Also:
LOSBuilder
-
-
Constructor Summary
Constructors Constructor Description FixedRotation(String name, Vector3D axis, double angle)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<ParameterDriver>
getParametersDrivers()
Get the drivers for LOS parameters.<T extends Derivative<T>>
FieldVector3D<T>transformLOS(int i, FieldVector3D<T> los, DerivativeGenerator<T> generator)
Transform a line-of-sight and its partial derivatives.Vector3D
transformLOS(int i, Vector3D los)
Transform a line-of-sight.
-
-
-
Method Detail
-
getParametersDrivers
public Stream<ParameterDriver> getParametersDrivers()
Get the drivers for LOS parameters.- Specified by:
getParametersDrivers
in interfaceTimeIndependentLOSTransform
- Returns:
- drivers for LOS parameters
-
transformLOS
public Vector3D transformLOS(int i, Vector3D los)
Transform a line-of-sight.- Specified by:
transformLOS
in interfaceTimeIndependentLOSTransform
- Parameters:
i
- los pixel indexlos
- line-of-sight to transform- Returns:
- transformed line-of-sight
-
transformLOS
public <T extends Derivative<T>> FieldVector3D<T> transformLOS(int i, FieldVector3D<T> los, DerivativeGenerator<T> generator)
Transform a line-of-sight and its partial derivatives.This method is used for LOS calibration purposes. It allows to compute the Jacobian matrix of the LOS with respect to the parameters, which are typically polynomials coefficients representing rotation angles. These polynomials can be used for example to model thermo-elastic effects.
Note that in order for the partial derivatives to be properly set up, the
setSelected
method must have been set totrue
for the various parameters returned byTimeIndependentLOSTransform.getParametersDrivers()
that should be estimated.- Specified by:
transformLOS
in interfaceTimeIndependentLOSTransform
- Type Parameters:
T
- derivative type- Parameters:
i
- los pixel indexlos
- line-of-sight to transformgenerator
- generator to use for buildingDerivative
instances- Returns:
- line of sight, and its first partial derivatives with respect to the parameters
-
-