Skip to content

CambridgeUniversityPress/Celestial-and-Stellar-Dynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Celestial and Stellar Dynamics

Jupyter notebooks, python code, and selected data files and sources for the figures from Celestial and Stellar Dynamics by Barbara Ryden, coming soon.

Overview

Celestial and Stellar Dynamics by Barbara S. Ryden is the third volume in The Ohio State Astrophysics Series of textbooks published by Cambridge University Press. The audience for this series is graduate students and upper-level undergraduates studying astronomy and physics.

Most of the original figures in this book were created by the Richard Pogge (OSU), the technical editor of the OSAS book series, the majority of which are plots of data or calculations made using Python programs implemented as Jupyter notebooks. We are making all the notebooks available on GitHub as an ancillary to the book.

Instructors and students using Celestial and Stellar Dynamics are welcome to use these notebooks to make high-resolution versions of the book figures for presentations, adapt them for use in class, or to use as the basis for problem sets or projects in courses adopting this book. Over time we hope to collect and present other notebooks that will enable further explorations of topics in the book, become part of computational problem sets or individual and group projects, etc. This way, the figures become a starting point for learning and new explorations rather than being frozen into print.

Software Requirements

All notebooks were developed in Python 3 using the Anaconda Python distribution.

Required packages are numpy, scipy, pandas, matplotlib, and astropy, all part of Anaconda.

LaTeX is required for math symbols in the notebooks.

Optional Packages

Some of the figures in the book used the galpy Python package for galactic dynamics by Jo Bovy. Because galpy can be computationally intensive, the figures using galpy computations in this repository use pre-calculated data for simplicity. However, we include the versions of the notebooks that execute galpy directly for those who wish to install the package and explore on their own.

Another set of figures used the Python version of the rebound N-body integrator package developed by Hanno Rein and collaborators. As with galpy, figures in this set that use rebound computations work with pre-calculated files for simplicity. Installation of rebound is more involved, but if you want to run rebound for yourself or your students, we provide the notebooks that ran rebound for our figures to illustrate how it is used.

The galpy and rebound packages have active user communities and there are many examples and guides to help you explore these powerful programs on your own.

Supplementary exercises for students using galpy and rebound are being developed and will be released later.

Downloads

Download and Install

To download a copy of this repository onto your local computer, go to the folder on your computer where you want to install it and type

git clone https://github.com/CambridgeUniversityPress/Celestial-and-Stellar-Dynamics

This will create the Celestial-and-Stellar-Dynamics folder containing the entire repository. You may rename this repository after installation to shorten the name if you wish (e.g., /path/to/wherever/CSD).

Update the notebooks and data

To update your copy, go into the top-level folder you created above (e.g., /path/to/wherever/CSD) and type

git pull

If there are no updates, your local copy will be unaffected.

Use and Attribution

The notebooks and their contents are original works of the authors and often include data obtained from public archives or from professional colleagues (always from published sources). We ask that users preserve all literature citations to the original work from which such data were derived, and give proper credit when using them. If you use these notebooks, please make reference to the Celestial and Stellar Dynamics book and this repository.

License Notice

All files in this repository are licensed under a Creative Commons Attribution 4.0 International Public License, to foster broader use of the notebooks and their data by teachers and students.

About

Jupyter notebooks, python codes, and data files for all original figures from "Celestial and Stellar Dynamics" by Barbara Ryden.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published