Package gaiasky.util.gaia
Class Epsl
- java.lang.Object
-
- gaiasky.util.gaia.BaseAttitudeDataServer<Attitude>
-
- gaiasky.util.gaia.AnalyticalAttitudeDataServer
-
- gaiasky.util.gaia.Epsl
-
public class Epsl extends AnalyticalAttitudeDataServer
Implementation of the Ecliptic Pole Scanning Law (EPSL)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEpsl.ModeEcliptic pole scanning has two modes: PRECEDING (revolving phase angle = 0) and FOLLOWING (revolving phase angle = 180 deg).
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttitudegetAttitudeNative(long t)Evaluate the attitude in the native time system of the serverEpsl.ModegetMode()doublegetOmegaFull()doublegetOmegaMod4Pi()voidsetDefault()Set all parameters to default values (from GaiaParam)-
Methods inherited from class gaiasky.util.gaia.AnalyticalAttitudeDataServer
getNominalSunVector, getNuRef, getOmegaRef, getRefTime, getTargetPrecessionRate, getTargetScanPeriod, getTargetScanRate, getXiRef, inGap, setNuRef, setOmegaRef, setRefTime, setTargetPrecessionRate, setTargetScanPeriod, setTargetScanRate, setXiRef
-
Methods inherited from class gaiasky.util.gaia.BaseAttitudeDataServer
getAttitude, getAttitude, isInitialized, setInitialized
-
-
-
-
Constructor Detail
-
Epsl
public Epsl()
Default constructor (uses Mode = PRECEDING):
-
Epsl
public Epsl(Epsl.Mode mode)
Constructor that allows to initialize preceding or following EPSL:- Parameters:
mode- PRECEDING or FOLLOWING
-
-
Method Detail
-
getAttitudeNative
public Attitude getAttitudeNative(long t)
Description copied from class:BaseAttitudeDataServerEvaluate the attitude in the native time system of the server- Specified by:
getAttitudeNativein classBaseAttitudeDataServer<Attitude>- Parameters:
t- - the time elapsed since the epoch of J2010 in ns (TCB)- Returns:
- attitude for the given time
- See Also:
BaseAttitudeDataServer.getAttitude(long)
-
getMode
public Epsl.Mode getMode()
- Returns:
- current EPSL mode
-
setDefault
public void setDefault()
Description copied from class:AnalyticalAttitudeDataServerSet all parameters to default values (from GaiaParam)- Overrides:
setDefaultin classAnalyticalAttitudeDataServer- See Also:
AnalyticalAttitudeDataServer.setDefault()
-
getOmegaFull
public double getOmegaFull()
- Returns:
- non-truncated spin phase
-
getOmegaMod4Pi
public double getOmegaMod4Pi()
- Returns:
- spin phase normalised to range [0, 4 Pi]
-
-