dyad.eccentric_anomaly_from_true_anomaly
- dyad.eccentric_anomaly_from_true_anomaly(theta, e)[source]
Return the eccentric anomaly
- Parameters:
- thetaarray-like
True anomaly.
- earray-like
Eccentricity.
- Returns:
- resndarray
Eccentric anomaly.
Examples
Scalar parameters.
>>> eccentric_anomaly_from_true_anomaly(1., 0.5) 0.611063702733245
Array-like parameters defining multiple orbits.
>>> theta, e = [1., 1.], [0.5, 0.5] >>> eccentric_anomaly_from_true_anomaly(theta, e) array([0.6110637, 0.6110637])