A set of analysis and plotting scripts for use with Athena++ data files. The scripts (and the data they analyse) are based on Athena++ v21.0 (archived) but may also work on other versions. Athena++ is a GRMHD and Adaptive Mesh Refinement (AMR) code. The latest release is available at https://github.com/PrincetonUniversity/athena.
Most core scripts rely on a slightly modified version of Athena++'s athena_read.py, contained within the dependencies/ folder. In addition, you will need:
- AAT (Athena Analysis Tools), also found in
dependencies/ - numpy
- matplotlib (for plotting scripts)
- pandas (for plotting scripts)
- scipy
- mpi4py (for parallel scripts)
Note 1: The location of the dependencies/ folder is hard-coded to follow the structure in this repository. If you move it, make sure to change the address!
Note 2: Many scripts rely on results from calc/calc_scale.py (to average within 3 scale heights) and calc/create_timelist.py (for selecting certain times). Where required, these are to be supplied under <args>
For parallel calc/ scripts, run using mpirun
mpirun -n <procs> <script_name> <args> <*kwargs>
For plotting scripts, run
python <script_name> <args> <*kwargs>
For any given script, running
python <script_name> -h
will show you the arguments (required and optional) that can be passed to that script.