Welcome to the repository for Dubay et al. (2024), "Galactic Chemical Evolution Models Favor an Extended Type Ia Supernova Delay-Time Distribution", arXiv:2404.08059.
To re-build the article yourself, simply run the following from the repository directory:
$ showyourwork build
The data and model outputs will automatically be downloaded from the Zenodo deposit.
To re-create the APOGEE sample with Leung et al. (2023) age estimates, run the following:
$ python generate_sample.py
This will replace everything in the src/data/APOGEE
directory.
To re-run all models yourself, run the following:
$ python run_all_models.py
This will replace everything in the src/data/multizone
directory, including
the output files from Zenodo.
Source code for the models is located within the src/scripts/multizone/ directory. To run a single multi-zone model with custom parameters, run the following:
$ cd src/scripts
$ python -m multizone [OPTIONS...]
In particular, code for the stellar migration prescription is contained within the gaussian_migration
class
located at
src/scripts/multizone/src/migration.py.