Class AberrationModifier

    • Constructor Detail

      • AberrationModifier

        public AberrationModifier()
        Empty constructor.

        This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.

        Since:
        12.0
    • Method Detail

      • 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 station
        date - the date of the measurement
        frame - the frame of the measurement
        Returns:
        the "proper" direction (station-relative coordinates)
      • 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 station
        date - the date of the measurement
        frame - the frame of the measurement
        Returns:
        the "natural" direction (in barycentric coordinates)
      • 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 coordinates
        frame - the frame of the measurement
        Returns:
        the "proper" direction (station-relative coordinates)
      • 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 coordinates
        frame - the frame of the measurement
        Returns:
        the "natural" direction (in barycentric coordinates)