Class AberrationModifier
- java.lang.Object
-
- org.orekit.estimation.measurements.modifiers.AberrationModifier
-
- All Implemented Interfaces:
EstimationModifier<AngularRaDec>
,ParameterDriversProvider
public class AberrationModifier extends Object implements EstimationModifier<AngularRaDec>
Class modifying theoretical angular measurement with (the inverse of) stellar aberration.This class implements equation 3.252-3 from Seidelmann, "Explanatory Supplement to the Astronmical Almanac", 1992.
- Author:
- Mark Rutten
-
-
Constructor Summary
Constructors Constructor Description AberrationModifier()
Empty constructor.AberrationModifier(DataContext dataContext)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Gradient[]
fieldNaturalToProper(Gradient[] naturalRaDec, FieldTransform<Gradient> stationToInertial, Frame frame)
Natural to proper correction for aberration of light.static Gradient[]
fieldNaturalToProper(Gradient[] naturalRaDec, FieldTransform<Gradient> stationToInertial, Frame frame, DataContext context)
Natural to proper correction for aberration of light.static Gradient[]
fieldProperToNatural(Gradient[] properRaDec, FieldTransform<Gradient> stationToInertial, Frame frame)
Proper to natural correction for aberration of light.static Gradient[]
fieldProperToNatural(Gradient[] properRaDec, FieldTransform<Gradient> stationToInertial, Frame frame, DataContext context)
Proper to natural correction for aberration of light.String
getEffectName()
Get the name of the effect modifying the measurement.List<ParameterDriver>
getParametersDrivers()
Get the drivers for parameters.void
modify(EstimatedMeasurement<AngularRaDec> estimated)
Apply a modifier to an estimated measurement.void
modifyWithoutDerivatives(EstimatedMeasurementBase<AngularRaDec> estimated)
Apply a modifier to an estimated measurement without derivatives.static double[]
naturalToProper(double[] naturalRaDec, GroundStation station, AbsoluteDate date, Frame frame)
Natural to proper correction for aberration of light.static double[]
naturalToProper(double[] naturalRaDec, GroundStation station, AbsoluteDate date, Frame frame, DataContext context)
Natural to proper correction for aberration of light.static double[]
properToNatural(double[] properRaDec, GroundStation station, AbsoluteDate date, Frame frame)
Proper to natural correction for aberration of light.static double[]
properToNatural(double[] properRaDec, GroundStation station, AbsoluteDate date, Frame frame, DataContext context)
Proper to natural correction for aberration of light.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
-
-
-
Constructor Detail
-
AberrationModifier
@DefaultDataContext public AberrationModifier()
Empty constructor.This constructor uses the
default data context
- Since:
- 12.0
- See Also:
AberrationModifier(DataContext)
-
AberrationModifier
public AberrationModifier(DataContext dataContext)
Constructor.- Parameters:
dataContext
- data context- Since:
- 12.0.1
-
-
Method Detail
-
getEffectName
public String getEffectName()
Get the name of the effect modifying the measurement.- Specified by:
getEffectName
in interfaceEstimationModifier<AngularRaDec>
- Returns:
- name of the effect modifying the measurement
-
naturalToProper
@DefaultDataContext public static double[] naturalToProper(double[] naturalRaDec, GroundStation station, AbsoluteDate date, Frame frame)
Natural to proper correction for aberration of light.- Parameters:
naturalRaDec
- the "natural" direction (in barycentric coordinates)station
- the observer ground stationdate
- the date of the measurementframe
- the frame of the measurement- Returns:
- the "proper" direction (station-relative coordinates)
-
naturalToProper
public static double[] naturalToProper(double[] naturalRaDec, GroundStation station, AbsoluteDate date, Frame frame, DataContext context)
Natural to proper correction for aberration of light.- Parameters:
naturalRaDec
- the "natural" direction (in barycentric coordinates)station
- the observer ground stationdate
- the date of the measurementframe
- the frame of the measurementcontext
- the data context- Returns:
- the "proper" direction (station-relative coordinates)
- Since:
- 12.0.1
-
properToNatural
@DefaultDataContext public static double[] properToNatural(double[] properRaDec, GroundStation station, AbsoluteDate date, Frame frame)
Proper to natural correction for aberration of light.- Parameters:
properRaDec
- the "proper" direction (station-relative coordinates)station
- the observer ground stationdate
- the date of the measurementframe
- the frame of the measurement- Returns:
- the "natural" direction (in barycentric coordinates)
-
properToNatural
public static double[] properToNatural(double[] properRaDec, GroundStation station, AbsoluteDate date, Frame frame, DataContext context)
Proper to natural correction for aberration of light.- Parameters:
properRaDec
- the "proper" direction (station-relative coordinates)station
- the observer ground stationdate
- the date of the measurementframe
- the frame of the measurementcontext
- the data context- Returns:
- the "natural" direction (in barycentric coordinates)
- Since:
- 12.0.1
-
fieldNaturalToProper
@DefaultDataContext public static Gradient[] fieldNaturalToProper(Gradient[] naturalRaDec, FieldTransform<Gradient> stationToInertial, Frame frame)
Natural to proper correction for aberration of light.- Parameters:
naturalRaDec
- the "natural" direction (in barycentric coordinates)stationToInertial
- the transform from station to inertial coordinatesframe
- the frame of the measurement- Returns:
- the "proper" direction (station-relative coordinates)
-
fieldNaturalToProper
public static Gradient[] fieldNaturalToProper(Gradient[] naturalRaDec, FieldTransform<Gradient> stationToInertial, Frame frame, DataContext context)
Natural to proper correction for aberration of light.- Parameters:
naturalRaDec
- the "natural" direction (in barycentric coordinates)stationToInertial
- the transform from station to inertial coordinatesframe
- the frame of the measurementcontext
- the data context- Returns:
- the "proper" direction (station-relative coordinates)
- Since:
- 12.0.1
-
fieldProperToNatural
@DefaultDataContext public static Gradient[] fieldProperToNatural(Gradient[] properRaDec, FieldTransform<Gradient> stationToInertial, Frame frame)
Proper to natural correction for aberration of light.- Parameters:
properRaDec
- the "proper" direction (station-relative coordinates)stationToInertial
- the transform from station to inertial coordinatesframe
- the frame of the measurement- Returns:
- the "natural" direction (in barycentric coordinates)
-
fieldProperToNatural
public static Gradient[] fieldProperToNatural(Gradient[] properRaDec, FieldTransform<Gradient> stationToInertial, Frame frame, DataContext context)
Proper to natural correction for aberration of light.- Parameters:
properRaDec
- the "proper" direction (station-relative coordinates)stationToInertial
- the transform from station to inertial coordinatesframe
- the frame of the measurementcontext
- the data context- Returns:
- the "natural" direction (in barycentric coordinates)
- Since:
- 12.0.1
-
getParametersDrivers
public List<ParameterDriver> getParametersDrivers()
Get the drivers for parameters.- Specified by:
getParametersDrivers
in interfaceParameterDriversProvider
- Returns:
- drivers for parameters
-
modifyWithoutDerivatives
public void modifyWithoutDerivatives(EstimatedMeasurementBase<AngularRaDec> estimated)
Apply a modifier to an estimated measurement without derivatives.- Specified by:
modifyWithoutDerivatives
in interfaceEstimationModifier<AngularRaDec>
- Parameters:
estimated
- estimated measurement to modify
-
modify
public void modify(EstimatedMeasurement<AngularRaDec> estimated)
Apply a modifier to an estimated measurement.- Specified by:
modify
in interfaceEstimationModifier<AngularRaDec>
- Parameters:
estimated
- estimated measurement to modify
-
-