public class AngularVelocitiesHarmonicProfile extends AbstractAngularVelocitiesAttitudeProfile
An attitude angular velocities profile, whose x-y-z components are represented with Fourier series.
AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType
dateRef, integStep, refFrame, rotationInitial, spinDerivativesComputation, spinVectorFunction, type
Modifier and Type | Method and Description |
---|---|
double[] |
getAngularFrequencies()
Gets the angular frequencies of the three Fourier series representing x, y and z.
|
double[] |
getConstants()
Gets the
a0 coefficients of the three Fourier series representing x, y and z. |
double[][] |
getCosArrays()
Gets the
a coefficients of the three Fourier series representing x, y and z. |
double[][] |
getSinArrays()
Gets the
b coefficients of the three Fourier series representing x, y and z. |
void |
truncate(AbsoluteDateInterval newInterval)
Truncate the validity interval of the profile.
|
clearCache, getAttitude, getOrientation, setSpinDerivativesComputation
checkDate, getAttitude, getNature, getSpinDeltaT, getTimeInterval
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toPrettyString
public AngularVelocitiesHarmonicProfile(FourierSeries xAngle, FourierSeries yAngle, FourierSeries zAngle, Frame frame, AbsoluteDateInterval timeInterval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep) throws PatriusException
xAngle
- x angular velocity Fourier decompositionyAngle
- y angular velocity Fourier decompositionzAngle
- z angular velocity Fourier decompositionframe
- frame where the initial rotation and xAngle, yAngle and zAngle Fourier Series functions are expressedtimeInterval
- interval of validity of the guidance profilerotationRef
- rotation at reference datedateRef
- Reference dateintegType
- integration typeintegStep
- integration stepPatriusException
- thrown if the reference date is after the lower bound of the interval to be covered by the profilepublic AngularVelocitiesHarmonicProfile(FourierSeries xAngle, FourierSeries yAngle, FourierSeries zAngle, Frame frame, AbsoluteDateInterval timeInterval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep, int cacheFreq) throws PatriusException
xAngle
- x angular velocity Fourier decompositionyAngle
- y angular velocity Fourier decompositionzAngle
- z angular velocity Fourier decompositionframe
- frame where the initial rotation and xAngle, yAngle and zAngle Fourier Series functions are expressedtimeInterval
- interval of validity of the guidance profilerotationRef
- rotation at reference datedateRef
- Reference dateintegType
- integration typeintegStep
- integration stepcacheFreq
- Number of integration steps performed between two values stored in the underlying cachePatriusException
- thrown if the reference date is after the lower bound of the interval to be covered by the profilepublic AngularVelocitiesHarmonicProfile(FourierSeries xAngle, FourierSeries yAngle, FourierSeries zAngle, Frame frame, AbsoluteDateInterval timeInterval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep, String nature) throws PatriusException
frame
- frame where initialRotation and xAngle, yAngle and zAngle are expressedxAngle
- x angular velocity Fourier decompositionyAngle
- y angular velocity Fourier decompositionzAngle
- z angular velocity Fourier decompositiontimeInterval
- interval of validity of the guidance profilerotationRef
- rotation at reference datedateRef
- Reference dateintegType
- integration typeintegStep
- integration stepnature
- NaturePatriusException
- thrown if the reference date is after the lower bound of the interval to be covered by the profilepublic AngularVelocitiesHarmonicProfile(FourierSeries xAngle, FourierSeries yAngle, FourierSeries zAngle, Frame frame, AbsoluteDateInterval timeInterval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep, int cacheFreq, String nature) throws PatriusException
frame
- frame where initialRotation and xAngle, yAngle and zAngle are expressedxAngle
- x angular velocity Fourier decompositionyAngle
- y angular velocity Fourier decompositionzAngle
- z angular velocity Fourier decompositiontimeInterval
- interval of validity of the guidance profilerotationRef
- rotation at reference datedateRef
- Reference dateintegType
- integration typeintegStep
- integration stepcacheFreq
- Number of integration steps performed between two values stored in the underlying cachenature
- NaturePatriusException
- thrown if the reference date is after the lower bound of the interval to be covered by the profilepublic void truncate(AbsoluteDateInterval newInterval) throws PatriusException
truncate
in interface Leg
truncate
in class AbstractAttitudeProfile
newInterval
- the new time intervalPatriusException
- if the new time interval is not included in the current time intervalpublic double[] getAngularFrequencies()
public double[] getConstants()
a0
coefficients of the three Fourier series representing x, y and z.a0
coefficientspublic double[][] getCosArrays()
a
coefficients of the three Fourier series representing x, y and z.a
coefficients of the three Fourier series representing x, y and z.public double[][] getSinArrays()
b
coefficients of the three Fourier series representing x, y and z.b
coefficients of the three Fourier series representing x, y and z.Copyright © 2021 CNES. All rights reserved.