Tutorials

These tutorials are based on the companion GitHub EXP repositories which you can clone to your working computer in the usual way. To get the pyEXP examples do:

git clone git@github.com:EXP-code/pyEXP-examples.git pyEXP-examples

and to get the EXP N-body examples do:

git clone git@github.com:EXP-code/EXP-examples.git EXP-examples

Note

We use the Nbody example from EXP-examples to illustrate some key features of pyEXP. For pyEXP-only users, we provide an abbreviated output set that may be copied from EXP-examples/Nbody/data. In addition, for those of you interested in both EXP and pyEXP, we recommend studying the example in EXP-examples/Nbody as a template for an astronomically relevant simulation.

Quick-start examples

The following two tutorials are quick excerpts from the larger example suite to get you started.

pyEXP Tutorial

Your first pyEXP example project.

EXP Tutorial

Your first EXP example project.

The pyEXP-examples/Tutorials/EXP directory contains Python notebooks that run simulations and analyze their output all from the notebook. While we do not recommend this as a strategy for production simulations, this is a good way to learn EXP and pyEXP together!

For a quick start up, consider using our Docker container which requires no compilation. See Exploring EXP using Docker for an introduction.