Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Through Python to the Stars

Through Python to the Stars

An introduction to open source orbital mechanics library written in Python, "poliastro". Talk also includes basic introduction to orbital mechanics, libraries like astropy, plotly and numba.

Lightning talk delivered at PyCon India 2018 @ HICC, Hyderabad, India

Shreyas Bapat

October 06, 2018
Tweet

More Decks by Shreyas Bapat

Other Decks in Programming

Transcript

  1. Who am I? Amateur Astronomer Undergrad. @ IIT Mandi Open

    Source Enthusiast Ex-Co-ordinator STAC-IITMandi
  2. What’s actually Astrodynamics/Orbital Mechanics? Physics > Mechanics > Celestial Mechanics

    > Astrodynamics “A branch of Mechanics (itself a branch of Physics) that studies practical problems concerning the motion of human made objects through space”
  3. Two- Body Problem ➔ Main problem in Celestial Mechanics ◆

    Two Point Masses ◆ Only Gravitational Forces Considered ➔ The two motions are now decopouled. ..
  4. Kepler Problem ➔ Kepler’s Problem is the initial value problem

    (IVP) of the two body problem also known as propagation. ➔ In short, given its state at some time, determine where it will be after “x” amount of time. Determine it’s velocity and position! ➔ For elliptic orbits,
  5. Poliastro : AstroDynamics in Python ➔ Pure Python accelerated with

    numba. ➔ MIT Licence (Permissive) ➔ Analytical and numerical orbit propagation. ➔ Conversion between position and velocity vectors and classical orbital elements. ➔ Coordinate frame transformations. ➔ Hohmann and bielliptic maneuvers computation. ➔ Trajectory plotting - 3D and 2D ➔ Initial orbit determination (Lambert problem) ➔ Planetary ephemerides (using SPICE kernels via Astropy) ➔ Computation of Near-Earth Objects (NEOs)
  6. Plotly : Interactive Plotting in Python ➔ plotly.py is a

    MIT licensed, interactive, browser-based graphing library for Python ➔ Major Release: Plotly 3.0 ➔ First Class Jupyter Widget Support ➔ Context Manager for Animations! ➔ 3D and 2D plotting. ➔ Provides public, private, and on-premise platforms for publishing graphs, datasets, and interactive Dash applications. ➔ Dash!!