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 class
Epsl.Mode
Ecliptic 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
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Attitude
getAttitudeNative(long t)
Evaluate the attitude in the native time system of the serverEpsl.Mode
getMode()
double
getOmegaFull()
double
getOmegaMod4Pi()
void
setDefault()
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Epsl
public Epsl()Default constructor (uses Mode = PRECEDING): -
Epsl
Constructor that allows to initialize preceding or following EPSL:- Parameters:
mode
- PRECEDING or FOLLOWING
-
-
Method Details
-
getAttitudeNative
Description copied from class:BaseAttitudeDataServer
Evaluate the attitude in the native time system of the server- Specified by:
getAttitudeNative
in 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
- Returns:
- current EPSL mode
-
setDefault
public void setDefault()Description copied from class:AnalyticalAttitudeDataServer
Set all parameters to default values (from GaiaParam)- Overrides:
setDefault
in 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]
-