Skip to content

Latest commit

 

History

History
127 lines (94 loc) · 2.79 KB

orbits.rst

File metadata and controls

127 lines (94 loc) · 2.79 KB

Orbits

StateVector

beyond.orbits.statevector.StateVector

Orbit

beyond.orbits.orbit.Orbit

Forms

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 to keplerian_circular
  • mean points to keplerian_mean
  • mean_circular points to keplerian_mean_circular
  • eccentric points to keplerian_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

OrbitInfos

beyond.orbits.statevector.Infos

Ephem

beyond.orbits.ephem

Maneuvers

beyond.orbits.man.ImpulsiveMan

beyond.orbits.man.KeplerianImpulsiveMan

beyond.orbits.man.ContinuousMan

Cov

beyond.orbits.cov.Cov