Class AberrationModifier
java.lang.Object
org.orekit.estimation.measurements.modifiers.AberrationModifier
- All Implemented Interfaces:
EstimationModifier<AngularRaDec>,ParameterDriversProvider
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic Gradient[]fieldNaturalToProper(Gradient[] naturalRaDec, TimeStampedFieldPVCoordinates<Gradient> pvCoords, Frame frame) Natural to proper correction for aberration of light.static Gradient[]fieldNaturalToProper(Gradient[] naturalRaDec, TimeStampedFieldPVCoordinates<Gradient> pvCoords, Frame frame, DataContext context) Natural to proper correction for aberration of light.static Gradient[]fieldProperToNatural(Gradient[] properRaDec, TimeStampedFieldPVCoordinates<Gradient> pvCoords, Frame frame) Proper to natural correction for aberration of light.static Gradient[]fieldProperToNatural(Gradient[] properRaDec, TimeStampedFieldPVCoordinates<Gradient> pvCoords, Frame frame, DataContext context) Proper to natural correction for aberration of light.Get the name of the effect modifying the measurement.Get the drivers for parameters.voidmodify(EstimatedMeasurement<AngularRaDec> estimated) Apply a modifier to an estimated measurement.voidApply a modifier to an estimated measurement without derivatives.static double[]naturalToProper(double[] naturalRaDec, Observer observer, AbsoluteDate date, Frame frame) Natural to proper correction for aberration of light.static double[]naturalToProper(double[] naturalRaDec, Observer observer, AbsoluteDate date, Frame frame, DataContext context) Natural to proper correction for aberration of light.static double[]properToNatural(double[] properRaDec, Observer observer, AbsoluteDate date, Frame frame) Proper to natural correction for aberration of light.static double[]properToNatural(double[] properRaDec, Observer observer, 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, waitMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Constructor Details
-
AberrationModifier
Empty constructor.This constructor uses the
default data context- Since:
- 12.0
- See Also:
-
AberrationModifier
Constructor.- Parameters:
dataContext- data context- Since:
- 12.0.1
-
-
Method Details
-
getEffectName
Get the name of the effect modifying the measurement.- Specified by:
getEffectNamein interfaceEstimationModifier<AngularRaDec>- Returns:
- name of the effect modifying the measurement
-
naturalToProper
@DefaultDataContext public static double[] naturalToProper(double[] naturalRaDec, Observer observer, AbsoluteDate date, Frame frame) Natural to proper correction for aberration of light.- Parameters:
naturalRaDec- the "natural" direction (in barycentric coordinates)observer- the observerdate- the date of the measurementframe- the frame of the measurement- Returns:
- the "proper" direction (observer-relative coordinates)
-
naturalToProper
public static double[] naturalToProper(double[] naturalRaDec, Observer observer, AbsoluteDate date, Frame frame, DataContext context) Natural to proper correction for aberration of light.- Parameters:
naturalRaDec- the "natural" direction (in barycentric coordinates)observer- the observerdate- the date of the measurementframe- the frame of the measurementcontext- the data context- Returns:
- the "proper" direction (observer-relative coordinates)
- Since:
- 12.0.1
-
properToNatural
@DefaultDataContext public static double[] properToNatural(double[] properRaDec, Observer observer, AbsoluteDate date, Frame frame) Proper to natural correction for aberration of light.- Parameters:
properRaDec- the "proper" direction (observer-relative coordinates)observer- the observerdate- the date of the measurementframe- the frame of the measurement- Returns:
- the "natural" direction (in barycentric coordinates)
-
properToNatural
public static double[] properToNatural(double[] properRaDec, Observer observer, AbsoluteDate date, Frame frame, DataContext context) Proper to natural correction for aberration of light.- Parameters:
properRaDec- the "proper" direction (observer-relative coordinates)observer- the observerdate- 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, TimeStampedFieldPVCoordinates<Gradient> pvCoords, Frame frame) Natural to proper correction for aberration of light.- Parameters:
naturalRaDec- the "natural" direction (in barycentric coordinates)pvCoords- the pv coordinates for the observerframe- the frame of the measurement- Returns:
- the "proper" direction (observer-relative coordinates)
-
fieldNaturalToProper
public static Gradient[] fieldNaturalToProper(Gradient[] naturalRaDec, TimeStampedFieldPVCoordinates<Gradient> pvCoords, Frame frame, DataContext context) Natural to proper correction for aberration of light.- Parameters:
naturalRaDec- the "natural" direction (in barycentric coordinates)pvCoords- the pv coordinates for the observerframe- the frame of the measurementcontext- the data context- Returns:
- the "proper" direction (observer-relative coordinates)
- Since:
- 12.0.1
-
fieldProperToNatural
@DefaultDataContext public static Gradient[] fieldProperToNatural(Gradient[] properRaDec, TimeStampedFieldPVCoordinates<Gradient> pvCoords, Frame frame) Proper to natural correction for aberration of light.- Parameters:
properRaDec- the "proper" direction (observer-relative coordinates)pvCoords- the pv coordinates for the observerframe- the frame of the measurement- Returns:
- the "natural" direction (in barycentric coordinates)
-
fieldProperToNatural
public static Gradient[] fieldProperToNatural(Gradient[] properRaDec, TimeStampedFieldPVCoordinates<Gradient> pvCoords, Frame frame, DataContext context) Proper to natural correction for aberration of light.- Parameters:
properRaDec- the "proper" direction (observer-relative coordinates)pvCoords- the pv coordinates for the observerframe- the frame of the measurementcontext- the data context- Returns:
- the "natural" direction (in barycentric coordinates)
- Since:
- 12.0.1
-
getParametersDrivers
Get the drivers for parameters.- Specified by:
getParametersDriversin interfaceParameterDriversProvider- Returns:
- drivers for parameters
-
modifyWithoutDerivatives
Apply a modifier to an estimated measurement without derivatives.- Specified by:
modifyWithoutDerivativesin interfaceEstimationModifier<AngularRaDec>- Parameters:
estimated- estimated measurement to modify
-
modify
Apply a modifier to an estimated measurement.- Specified by:
modifyin interfaceEstimationModifier<AngularRaDec>- Parameters:
estimated- estimated measurement to modify
-