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 Details

  • Method Details

    • getEffectName

      public String getEffectName()
      Get the name of the effect modifying the measurement.
      Specified by:
      getEffectName in interface EstimationModifier<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 observer
      date - the date of the measurement
      frame - 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 observer
      date - the date of the measurement
      frame - the frame of the measurement
      context - 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 observer
      date - the date of the measurement
      frame - 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 observer
      date - the date of the measurement
      frame - the frame of the measurement
      context - 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 observer
      frame - 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 observer
      frame - the frame of the measurement
      context - 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 observer
      frame - 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 observer
      frame - the frame of the measurement
      context - 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 interface ParameterDriversProvider
      Returns:
      drivers for parameters
    • modifyWithoutDerivatives

      public void modifyWithoutDerivatives(EstimatedMeasurementBase<AngularRaDec> estimated)
      Apply a modifier to an estimated measurement without derivatives.
      Specified by:
      modifyWithoutDerivatives in interface EstimationModifier<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 interface EstimationModifier<AngularRaDec>
      Parameters:
      estimated - estimated measurement to modify