Astro Interactives is a series of Jupyter Notebooks meant to provide interactive demos and simulations for introductory astronomy courses. These notebooks were initially developed by
- Juan Cabanela (Professor for Physics and Astronomy at Minnesota State University Moorhead)
- Andrew Louwagie Gordon (Student at Minnesota State University Moorhead)
- Sam Holen (Student at Minnesota State University Moorhead)
This software is provide “as-is” and may contain bugs/errors that could mis-represent astronomical reality. You use this software at your own risk!
- Provide a freely downloadable set of Jupyter Notebooks that can be executed for use in introductory Astornomy labs and lecture activities to illustrate astronomical concepts.
Try it online with Binder
The currently available Jupyter Notebooks (in no particular order) are the following:
- Radioactive Decay Simulations - This activity is used to illustrate the concept of radioactive decay, half-life, and how these concepts can be used to determine the age of some rocks via the geochron method.
- Center of Mass Interactive - This simulation simply allows a student to adjust the mass of two stars and dynamically shifts them back and forth to illustrate the center of mass position. Note: The star colors and relative radii are approximately accurate assuming they are main sequence stars!
- Binary Star Simulation - This is the most complex simulation in the bunch, constructing a full 3D simulation of a binary star system and then displaying a radial velocity or light curve for that system. The user can control most aspects of the system (although the stars are assumed to be main sequence star.
- Luminosity Calculator Interactive - This activity is used to illustrate to students how the radius and temperature of a star affect its luminosity. Note: The colors of the stars accurately correspond to the temperature, but the stars produced might not have radii and temperatures that correspond to real stars.
- Blackbody Simulation - This simulation shows a Planck spectrum with user controls for the temperature. It also has an interface for seeing how the computed B-V (and other) colors vary with temperature inspired by the Flash-based UNL Blackbody Curves activity.
- HR Diagram Interactive - This set of interactive graphics allows a student to explore the data that goes into the HR diagram, then how main sequence fitting can be used to determine the distance to a star cluster, and finally, how detailed stellar evolution models can be used to also determine the age of a star cluster. Note: This notebook uses all “real data” with the exception of the fact that to show a brightness diagram corresponding to an HR diagram, the distances (and corresponding brightnesses) were ‘assigned.’
These Jupyter notebooks require a
jupyter notebook installation as well as the following python packages:
ipywidgets(version >= 7.2.0)
pythreejs(version >= 1.0.0)
appmode(This allows the Jupyter notebook to run as an app)
which in turn depends on
traitlets(version >= 4.3.0)
- Display of equations can lag, allowing underlying LaTeX to be visible briefly.
- When run in Apple’s Safari web browser, the Binary Stars simulation is having display errors. They are detailed here (https://github.com/JuanCab/AstroInteractives/issues/10). We believe to be a bug in Safari and have reported to Apple. A redesign may fix this in the near future.
Help / Documentation
- The documentation for how the Python notebooks do what they do are in the code comments for now. We hope to eventually add copies of some of the lab exercises we do so people can see these on context.
- Send us an email at firstname.lastname@example.org if you need any help/information.