beyond.orbits.statevector.StateVector
beyond.orbits.orbit.Orbit
When using a :py~beyond.orbits.statevector.StateVector
or :py~beyond.orbits.orbit.Orbit
object it is possible to change its form by naming the desired new form.:
>>> print(repr(orb))
Orbit =
date = 2020-10-04T04:38:08.250720 UTC
form = tle
frame = TEME
propag = Sgp4
coord =
i = 0.9013630748877075
Ω = 2.951400634341467
e = 0.0001204
ω = 1.769838910680086
M = 0.9752533341001394
n = 0.0011263401984422173
>>> orb.form = "keplerian_circular"
>>> print(repr(orb))
Orbit =
date = 2020-10-04T04:38:08.250720 UTC
form = keplerian_circular
frame = TEME
propag = Sgp4
coord =
a = 6798290.45301548
ex = -2.3806801365162165e-05
ey = 0.00011802286307643835
i = 0.9013630748877075
Ω = 2.951400634341467
u = 2.74529160645093
Some forms have aliases:
circular
points tokeplerian_circular
mean
points tokeplerian_mean
mean_circular
points tokeplerian_mean_circular
eccentric
points tokeplerian_eccentric
It is also possible to access individual element of a :py~beyond.orbits.statevector.StateVector
or :py~beyond.orbits.orbit.Orbit
object by attribute or key. Some elements have aliases, particularly those with Greek letters name:
>>> orb.Omega # is equivalent to orb.Ω
2.951400634341467
>>> orb["Omega"]
2.951400634341467
>>> orb.aol # is equivalent to orb.u
2.74529160645093
beyond.orbits.forms.Form
beyond.orbits.forms.CART
beyond.orbits.forms.KEPL
beyond.orbits.forms.SPHE
beyond.orbits.forms.TLE
beyond.orbits.forms.KEPL_M
beyond.orbits.forms.KEPL_C
beyond.orbits.forms.KEPL_E
beyond.orbits.forms.KEPL_MC
beyond.orbits.forms.EQUI
beyond.orbits.forms.CYL
beyond.orbits.statevector.Infos
beyond.orbits.ephem
beyond.orbits.man.ImpulsiveMan
beyond.orbits.man.KeplerianImpulsiveMan
beyond.orbits.man.ContinuousMan
beyond.orbits.cov.Cov