Package gaiasky.util.gaia
Class EpslAndNsl
java.lang.Object
gaiasky.util.gaia.BaseAttitudeDataServer<IAttitude>
gaiasky.util.gaia.AnalyticalAttitudeDataServer
gaiasky.util.gaia.EpslAndNsl
-
Field Summary
Fields inherited from class gaiasky.util.gaia.AnalyticalAttitudeDataServer
ARCSEC_PER_S_TO_DEG_PER_DAY, FOUR_PI, nslSun, OBLIQUITY_DEG, OBLIQUITY_RAD, PI, PI_HALF, targetScanPeriod, TWO_PI, X_AXIS, Y_AXIS, Z_AXIS
Fields inherited from class gaiasky.util.gaia.BaseAttitudeDataServer
initialized, initialRequestedTimeContext, nativeTimeContext, withUncertaintiesCorrelations
-
Constructor Summary
ConstructorDescriptionDefault constructor:EpslAndNsl
(long tRef, Epsl.Mode mode) Constructor for arbitrary reference time (= switch from EPSL to NSL) and Epsl mode (PRECEDING or FOLLOWING): -
Method Summary
Modifier and TypeMethodDescriptiongetAttitudeNative
(long tNow) Evaluate the attitude in the native time system of the servervoid
setRefTime
(long t) Sets the reference time in nanoseconds.Methods inherited from class gaiasky.util.gaia.AnalyticalAttitudeDataServer
getNominalSunVector, getNuRef, getOmegaRef, getRefTime, getTargetPrecessionRate, getTargetScanPeriod, getTargetScanRate, getXiRef, inGap, setDefault, setNuRef, setOmegaRef, setTargetPrecessionRate, setTargetScanPeriod, setTargetScanRate, setXiRef
Methods inherited from class gaiasky.util.gaia.BaseAttitudeDataServer
getAttitude, getAttitude, isInitialized, setInitialized
-
Constructor Details
-
EpslAndNsl
public EpslAndNsl()Default constructor: -
EpslAndNsl
Constructor for arbitrary reference time (= switch from EPSL to NSL) and Epsl mode (PRECEDING or FOLLOWING):- Parameters:
tRef
- time of the switchmode
- which mode to switch to
-
-
Method Details
-
getAttitudeNative
Description copied from class:BaseAttitudeDataServer
Evaluate the attitude in the native time system of the server- Specified by:
getAttitudeNative
in classBaseAttitudeDataServer<IAttitude>
- Parameters:
tNow
- - the time elapsed since the epoch of J2010 in ns (TCB)- Returns:
- attitude for the given time
- See Also:
-
setRefTime
public void setRefTime(long t) Description copied from class:AnalyticalAttitudeDataServer
Sets the reference time in nanoseconds.- Overrides:
setRefTime
in classAnalyticalAttitudeDataServer
- Parameters:
t
- [ns]
-