a_m_to_P

twobody.a_m_to_P(a, m)[source]

Compute the orbital period given the semi-major axis and total mass.

Parameters
aquantity_like [length]

Semi-major axis.

mquantity_like [mass]

Total mass.