poliastro.core.propagation.danby
¶
Module Contents¶
Functions¶
|
|
|
Kepler solver for both elliptic and parabolic orbits based on Danby's |
- poliastro.core.propagation.danby.danby_coe(k, p, ecc, inc, raan, argp, nu, tof, numiter=20, rtol=1e-08)¶
- poliastro.core.propagation.danby.danby(k, r0, v0, tof, numiter=20, rtol=1e-08)¶
Kepler solver for both elliptic and parabolic orbits based on Danby’s algorithm.
- Parameters
k (float) – Standard gravitational parameter of the attractor.
r0 (numpy.ndarray) – Position vector.
v0 (numpy.ndarray) – Velocity vector.
tof (float) – Time of flight.
numiter (int, optional) – Number of iterations, defaults to 20.
rtol (float, optional) – Relative error for accuracy of the method, defaults to 1e-8.
- Returns
rr (numpy.ndarray) – Final position vector.
vv (numpy.ndarray) – Final velocity vector.
Notes
This algorithm was developed by Danby in his paper The solution of Kepler Equation with DOI: https://doi.org/10.1007/BF01686811