Package org.orekit.rugged.los
Class FixedZHomothety
- java.lang.Object
-
- org.orekit.rugged.los.FixedZHomothety
-
- All Implemented Interfaces:
TimeIndependentLOSTransform
public class FixedZHomothety extends Object implements TimeIndependentLOSTransform
LOS transform
based on a homothety along the Z axis.- Since:
- 2.0
- Author:
- Lucie Labatallee, Guylaine Prat
- See Also:
LOSBuilder
-
-
Constructor Summary
Constructors Constructor Description FixedZHomothety(String name, double factorvalue)
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.
-
-
-
Constructor Detail
-
FixedZHomothety
public FixedZHomothety(String name, double factorvalue)
Simple constructor.The single parameter is the homothety factor.
- Parameters:
name
- name of the homothety (used for estimated parameters identification)factorvalue
- homothety factor
-
-
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
-
-