synodic_period

Function synodic_period 

Source
pub fn synodic_period(planet1: Planet, planet2: Planet) -> Seconds
Expand description

Synodic period between two planets (seconds).

T_synodic = 1 / |1/T1 - 1/T2|

where T1, T2 are the orbital periods.