Modular BAO fitting code.
Requirements to run fits:
- Have all dependencies installed:
pip install -r requirements.txt
- Ensure that you have a named conda environment of at least python 3.6.
- Clone this project onto both your local computer and a cluster computer
- Update
barry.framework.config.py
to include the name of your environment - Run any of the python files in
barry.config
.- If you run on your local computer (ie
python test.py
), it will run the first MCMC run only to verify it works. - If you run on a cluster (checks for cluster if the OS is centos, let me know if yours isn't), it will create a slurm job script and send out all needed runs
- Once all jobs have finished, copy the output from the plots folder ie
barry.config.plots.mocks
to your local computer - Run the same python script and it will load in the data and create the plots.
- If you run on your local computer (ie
Tests are included in the tests directory. Run them using pytest, pytest -v .
in the top level directory (where this readme is).