CSCI P-14110 Introduction to Programming, Computational Science, and Data Visualization

This is the course website CSCI P-14110

Rebound Galaxies

Note: this example has less documentation and therefore might be a tougher problem.

First install with pip: add !pip install rebound in your jupyter notebook. Then you should be able to do import rebound in your notebook to import this package. See this website for more info about installing and testing rebound.

Begin by going through the solar system example as a warm up: NASA Horizon interface and the Starman example. This pings the NASA Horizon telescope to get the current positions of all the planets.

Once you have a feel for the Rebound solver, translate the galaxy initial conditions found on the Lesson 4 page into units that Rebound expects. For hints you can check out some old code right here.

EXTENSION: Download and use PyICs to generate your own initial galaxy particle positions.

Materials