EGXPhys

Functions

template<typename T >
EGXPhys::SiderealDay (const T orbitalPeriodIns, const T synodicDayIns)
 Calculates the sidereal day, \(T_{Sidereal}\), of a celestial object in seconds from the length of the celestial object's orbital period, \(T_{Orbit}\), and synodic day (solar day), \(T_{Solar}\). A sidereal day is the time it takes for a full 360 degree rotation resulting in a distant star appears in the same position in the sky overhead.

\[ T_{Sidereal}=\dfrac{T_{Orbit} * T_{Synodic}}{T_{Orbit} + T_{Synodic}}\]

. More...

 

Detailed Description

Function Documentation

◆ SiderealDay()

template<typename T >
T EGXPhys::SiderealDay ( const T  orbitalPeriodIns,
const T  synodicDayIns 
)

Calculates the sidereal day, \(T_{Sidereal}\), of a celestial object in seconds from the length of the celestial object's orbital period, \(T_{Orbit}\), and synodic day (solar day), \(T_{Solar}\). A sidereal day is the time it takes for a full 360 degree rotation resulting in a distant star appears in the same position in the sky overhead.

\[ T_{Sidereal}=\dfrac{T_{Orbit} * T_{Synodic}}{T_{Orbit} + T_{Synodic}}\]

.

See http://www.celestialnorth.org/FAQtoids/dazed_about_days_(solar_and_sidereal).htm and http://astronomy.swin.edu.au/cosmos/S/Sidereal+Day

Parameters
orbitalPeriodIns\( T_{Orbit}\ (s)\) Orbital period of the celestial object in seconds.
synodicDayIns\( T_{Synodic}\ (s)\) Synodic day (solar day) of the celestial object in seconds.
Returns
\( T_{Sidereal}\ (s)\) Sidereal day of the celestial object in seconds. Negative number indicates the planet has retrograde rotation.
See also
OrbitalPeriod() for period it takes for a celestial body to complete one orbit around another object.
SolarDay() for period it takes for a celestial body to rotate once in relation to the body it is orbiting.
SynodicDay() for period it takes for a celestial body to rotate once in relation to the body it is orbiting.