public class LocalTimeAngle extends Object implements Serializable
The local time is represented by the angle between the projections of the Sun and the satellite in the equatorial plane; therefore this angle is equal to zero when the local time is 12.00h and Π when the local time is 0.00h (Local Time In Hours = 12.00h + local time angle * 12 / Π).
Constructor and Description |
---|
LocalTimeAngle(PVCoordinatesProvider sunEphemeris)
Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
computeEquationOfTime(AbsoluteDate date)
Compute equation of time in TIRF in the range [-43200s; 43200s].
|
double |
computeMeanLocalTimeAngle(AbsoluteDate date,
Vector3D pos,
Frame frame)
Compute mean local time angle in TIRF frame in the range [-Π, Π[.
|
double |
computeMeanLocalTimeAngle(Orbit orbit)
Compute mean local time angle in TIRF frame in the range [-Π, Π[.
|
double |
computeRAANFromMeanLocalTime(AbsoluteDate date,
double meanLocalTime)
Compute RAAN from mean local time angle.
|
double |
computeRAANFromTrueLocalTime(AbsoluteDate date,
double trueLocalTime,
Frame frame)
Compute RAAN from true local time angle
|
double |
computeTrueLocalTimeAngle(AbsoluteDate date,
Vector3D pos,
Frame frame)
Compute true local time angle in TIRF frame in the range [-Π, Π[.
|
double |
computeTrueLocalTimeAngle(Orbit orbit)
Compute true local time angle in TIRF frame in the range [-Π, Π[.
|
public LocalTimeAngle(PVCoordinatesProvider sunEphemeris)
sunEphemeris
- Sun ephemerispublic double computeTrueLocalTimeAngle(AbsoluteDate date, Vector3D pos, Frame frame) throws PatriusException
date
- datepos
- position in provided frame frameframe
- frame in which position is definedPatriusException
- thrown if Sun PV coordinates could not be retrievedpublic double computeTrueLocalTimeAngle(Orbit orbit) throws PatriusException
orbit
- orbitPatriusException
- thrown if Sun PV coordinates could not be retrievedpublic double computeMeanLocalTimeAngle(AbsoluteDate date, Vector3D pos, Frame frame) throws PatriusException
Mean local time is equal to true local time minus equation of time.
date
- datepos
- position in provided frameframe
- frame in which position is definedPatriusException
- thrown if true local time could not be computedpublic double computeMeanLocalTimeAngle(Orbit orbit) throws PatriusException
Mean local time is equal to true local time minus equation of time.
orbit
- orbitPatriusException
- thrown if Sun PV coordinates could not be retrievedpublic double computeEquationOfTime(AbsoluteDate date) throws PatriusException
date
- datePatriusException
- thrown if equation of time could not be computedpublic double computeRAANFromTrueLocalTime(AbsoluteDate date, double trueLocalTime, Frame frame) throws PatriusException
date
- datetrueLocalTime
- true local time angle in radframe
- frame for which Earth equator should be considered. This frame should be pseudo-inertialPatriusException
- thrown if Sun position could not be retrieved in frame or frame is not pseudo-inertialpublic double computeRAANFromMeanLocalTime(AbsoluteDate date, double meanLocalTime) throws PatriusException
date
- datemeanLocalTime
- mean local time angle in radPatriusException
- thrown if sideral time could not be computedCopyright © 2023 CNES. All rights reserved.