CONAN.utils.sesinw_secosw_to_ecc_omega#
- CONAN.utils.sesinw_secosw_to_ecc_omega(sesinw, secosw, angle_unit='radians')#
Convert sesinw and secosw to eccentricity and argument of periastron in angle_unit
- Parameters:
sesinw (array-like) – sqrt(ecc)*sin(omega)
secosw (array-like) – sqrt(ecc)*cos(omega)
angle_unit (str) – unit in which to return the argument of periastron. one of [“radians”, “degrees”]. Default is “radians”
- Returns:
ecc (array-like) – eccentricity
omega (array-like) – argument of periastron in angle_unit