a_P_to_m

twobody.a_P_to_m(a, P)[source]

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

Parameters
aquantity_like [length]

Semi-major axis.

Pquantity_like [time]

Orbital period.