Class SpacecraftToObservedBody

    • Constructor Detail

      • SpacecraftToObservedBody

        public SpacecraftToObservedBody​(Frame inertialFrame,
                                        Frame bodyFrame,
                                        AbsoluteDate minDate,
                                        AbsoluteDate maxDate,
                                        double tStep,
                                        double overshootTolerance,
                                        List<TimeStampedPVCoordinates> positionsVelocities,
                                        int pvInterpolationNumber,
                                        CartesianDerivativesFilter pvFilter,
                                        List<TimeStampedAngularCoordinates> quaternions,
                                        int aInterpolationNumber,
                                        AngularDerivativesFilter aFilter)
        Simple constructor.
        Parameters:
        inertialFrame - inertial frame
        bodyFrame - observed body frame
        minDate - start of search time span
        maxDate - end of search time span
        tStep - step to use for inertial frame to body frame transforms cache computations
        overshootTolerance - tolerance in seconds allowed for minDate and maxDate overshooting slightly the position, velocity and quaternions ephemerides
        positionsVelocities - satellite position and velocity
        pvInterpolationNumber - number of points to use for position/velocity interpolation
        pvFilter - filter for derivatives from the sample to use in position/velocity interpolation
        quaternions - satellite quaternions
        aInterpolationNumber - number of points to use for attitude interpolation
        aFilter - filter for derivatives from the sample to use in attitude interpolation
      • SpacecraftToObservedBody

        public SpacecraftToObservedBody​(Frame inertialFrame,
                                        Frame bodyFrame,
                                        AbsoluteDate minDate,
                                        AbsoluteDate maxDate,
                                        double tStep,
                                        double overshootTolerance,
                                        List<Transform> bodyToInertial,
                                        List<Transform> scToInertial)
        Simple constructor.
        Parameters:
        inertialFrame - inertial frame
        bodyFrame - observed body frame
        minDate - start of search time span
        maxDate - end of search time span
        tStep - step to use for inertial frame to body frame transforms cache computations
        overshootTolerance - tolerance in seconds allowed for minDate and maxDate overshooting slightly the position, velocity and quaternions ephemerides
        bodyToInertial - transforms sample from observed body frame to inertial frame
        scToInertial - transforms sample from spacecraft frame to inertial frame
    • Method Detail

      • getInertialFrame

        public Frame getInertialFrame()
        Get the inertial frame.
        Returns:
        inertial frame
      • getBodyFrame

        public Frame getBodyFrame()
        Get the body frame.
        Returns:
        body frame
      • getMinDate

        public AbsoluteDate getMinDate()
        Get the start of search time span.
        Returns:
        start of search time span
      • getMaxDate

        public AbsoluteDate getMaxDate()
        Get the end of search time span.
        Returns:
        end of search time span
      • getTStep

        public double getTStep()
        Get the step to use for inertial frame to body frame transforms cache computations.
        Returns:
        step to use for inertial frame to body frame transforms cache computations
      • getScToInertial

        public Transform getScToInertial​(AbsoluteDate date)
        Get transform from spacecraft to inertial frame.
        Parameters:
        date - date of the transform
        Returns:
        transform from spacecraft to inertial frame
      • getInertialToBody

        public Transform getInertialToBody​(AbsoluteDate date)
        Get transform from inertial frame to observed body frame.
        Parameters:
        date - date of the transform
        Returns:
        transform from inertial frame to observed body frame
      • getBodyToInertial

        public Transform getBodyToInertial​(AbsoluteDate date)
        Get transform from observed body frame to inertial frame.
        Parameters:
        date - date of the transform
        Returns:
        transform from observed body frame to inertial frame
      • isInRange

        public boolean isInRange​(AbsoluteDate date)
        Check if a date is in the supported range.
        Parameters:
        date - date to check
        Returns:
        true if date is in the supported range