get_a_from_ecc

legwork.utils.get_a_from_ecc(ecc, c_0)[source]

Convert eccentricity to semi-major axis

Use initial conditions and Peters (1964) Eq. 5.11 to convert ecc to a.

Parameters
eccfloat/array

Eccentricity

c_0float

Constant defined in Peters and Mathews (1964) Eq. 5.11. See legwork.utils.c_0()

Returns
afloat/array

Semi-major axis