Class AnalyticalAttitudeDataServer
- Direct Known Subclasses:
Epsl, EpslAndNsl, Nsl37, TransitionScanningLaw
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final doubleFactor converting from arcsec/s to deg/dayprotected static final doubleprotected NslSunprotected static final doubleprotected static final doubleThe obliquity of the eclipticprotected static final doubleMathematical constantsprotected static final doubleprotected longThe time in ns of one rotation of the satellite around its spin axis.protected static final doubleprotected static final Vector3DUnit vectorsprotected static final Vector3Dprotected static final Vector3DFields inherited from class BaseAttitudeDataServer
initialized, initialRequestedTimeContext, nativeTimeContext, withUncertaintiesCorrelations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NslSundoublegetNuRef()Get the reference revolving phase angledoubleGet the reference scan phase anglelongRef time in nanoseconds since epoch.doubleGet the target precession ratelongGet the target scan perioddoubleGet the target scan ratedoublegetXiRef()Get the reference solar aspect anglebooleaninGap(long time) voidSet all parameters to default values (from GaiaParam)voidsetNuRef(double nuRef) Set the reference value for the precession phase angle (nu)voidsetOmegaRef(double omegaRef) Set the reference value for the spin phase abgle (Omega)voidsetRefTime(long tRef) Sets the reference time in nanoseconds.voidsetTargetPrecessionRate(double targetPrecessionRate) Set the target precession ratevoidsetTargetScanPeriod(long targetScanPeriod) Set the target scan periodvoidsetTargetScanRate(double targetScanRate) Set the target scan ratevoidsetXiRef(double xiRef) Set the reference value for the solar aspect angle (xi)Methods inherited from class BaseAttitudeDataServer
getAttitude, getAttitude, getAttitude, getAttitudeNative, isInitialized, setInitialized
-
Field Details
-
PI
protected static final double PIMathematical constants- See Also:
-
TWO_PI
protected static final double TWO_PI- See Also:
-
FOUR_PI
protected static final double FOUR_PI- See Also:
-
PI_HALF
protected static final double PI_HALF- See Also:
-
ARCSEC_PER_S_TO_DEG_PER_DAY
protected static final double ARCSEC_PER_S_TO_DEG_PER_DAYFactor converting from arcsec/s to deg/day- See Also:
-
X_AXIS
Unit vectors -
Y_AXIS
-
Z_AXIS
-
OBLIQUITY_RAD
protected static final double OBLIQUITY_RADThe obliquity of the ecliptic -
OBLIQUITY_DEG
protected static final double OBLIQUITY_DEG- See Also:
-
targetScanPeriod
protected long targetScanPeriodThe time in ns of one rotation of the satellite around its spin axis. -
nslSun
-
-
Constructor Details
-
AnalyticalAttitudeDataServer
public AnalyticalAttitudeDataServer()
-
-
Method Details
-
setDefault
public void setDefault()Set all parameters to default values (from GaiaParam) -
getTargetScanPeriod
public long getTargetScanPeriod()Get the target scan period- Returns:
- targetScanPeriod period in [ns]
-
setTargetScanPeriod
public void setTargetScanPeriod(long targetScanPeriod) Set the target scan period- Parameters:
targetScanPeriod- period in [ns]
-
getTargetScanRate
public double getTargetScanRate()Get the target scan rate- Returns:
- target scan rate value in [arcsec/s]
-
setTargetScanRate
public void setTargetScanRate(double targetScanRate) Set the target scan rate- Parameters:
targetScanRate- target value in [arcsec/s]
-
getXiRef
public double getXiRef()Get the reference solar aspect angle- Returns:
- reference solar aspect angle [rad]
-
setXiRef
public void setXiRef(double xiRef) Set the reference value for the solar aspect angle (xi)- Parameters:
xiRef- angle in [rad]
-
getNuRef
public double getNuRef()Get the reference revolving phase angle- Returns:
- reference revolving phase angle [rad]
-
setNuRef
public void setNuRef(double nuRef) Set the reference value for the precession phase angle (nu)- Parameters:
nuRef- angle in [rad]
-
getOmegaRef
public double getOmegaRef()Get the reference scan phase angle- Returns:
- reference scan phase angle [rad]
-
setOmegaRef
public void setOmegaRef(double omegaRef) Set the reference value for the spin phase abgle (Omega)- Parameters:
omegaRef- angle in [rad]
-
getTargetPrecessionRate
public double getTargetPrecessionRate()Get the target precession rate- Returns:
- target precession rate [rev/year]
-
setTargetPrecessionRate
public void setTargetPrecessionRate(double targetPrecessionRate) Set the target precession rate- Parameters:
targetPrecessionRate- target value in [rev/yr]
-
inGap
public boolean inGap(long time) -
getRefTime
public long getRefTime()Ref time in nanoseconds since epoch.- Overrides:
getRefTimein classBaseAttitudeDataServer<IAttitude>- Returns:
- The reference time [ns]
-
setRefTime
public void setRefTime(long tRef) Sets the reference time in nanoseconds.- Overrides:
setRefTimein classBaseAttitudeDataServer<IAttitude>- Parameters:
tRef- [ns]
-
getNominalSunVector
-