AstroKriel / OrbitIntegrators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visualizing comparison of different orbital mechanics integrators

Generates videos of orbits and energy in a N-two-body simulation.

Structure

  • pynbody_root/pynbody/integrators.py:

    • Different numerical integrator functions defined
  • pynbody_root/pynbody/simulate.py:

    • Classes for N-body problem simulation
  • pynbody_root/pynbody/plot_utils.py:

    • Plotting utility functions
  • test_symplectic.ipynb:

    • Main notebook to run simulation and get the video output.

Dependencies

This project requires the following Python packages:

  • [numpy]
  • [matplotlib]
  • [numba]
  • [PIL]
  • [ffmpeg]

About


Languages

Language:Python 74.0%Language:Jupyter Notebook 26.0%