The main aim of this branch was to implement the Mors stellar evolution code into PROTEUS, so that we can calculate the X-ray, EUV, and UV fluxes over time. These are especially needed for chemistry and escape. This required adapting the output of the Mors code so that it can scale up/down the modern spectrum such that it produces the correct amount of flux at a given age.
The changes included in this branch are outlined below:
Implemented Mors evolution code such that PROTEUS calculates a stellar spectrum periodically and saves it to a file.
PROTEUS can also make use of the BHAC+15 stellar evolution tracks.
The two codes have been validated against each other and against the modern spectrum.
Added a tools/ directory, for storing helpful tools. In this case, code to download stellar spectra from online databases and parse the files for use, as well as debugging scripts.
In order to keep with the modular philosophy of PROTEUS, the code was restructured such that each submodule has a corresponding file in PROTEUS for wrapping it. This makes the code easier to work with and to maintain.
The output folder for simulations is now set dynamically in the configuration file, although it's still best to avoid running two simulations at once until AEOLUS is modified so that SOCRATES' temporary files are also stored in the output directory.
New scripts for plotting stellar flux over time. Plotting scripts are now stored in plots/ instead of utils/.
The main aim of this branch was to implement the Mors stellar evolution code into PROTEUS, so that we can calculate the X-ray, EUV, and UV fluxes over time. These are especially needed for chemistry and escape. This required adapting the output of the Mors code so that it can scale up/down the modern spectrum such that it produces the correct amount of flux at a given age.
The changes included in this branch are outlined below:
tools/
directory, for storing helpful tools. In this case, code to download stellar spectra from online databases and parse the files for use, as well as debugging scripts.plots/
instead ofutils/
.Resolves #39. Resolves #29.