For the latest documenation please see here.
Choose a location for flexCE to live. We'll assume that it's in your home directory ("~/").
cd ~/flexCE python setup.py install
Generate yields:
cd ~/flexCE/flexCE/ python make_yield_grids.py
cd ~/flexCE/flexCE/ python flexce.py ../config/sim0.cfg
Change the parameters of the code:
create a new
simN.cfg
file (where N is a number)edit
simN.cfg
re-run the code:
python flexce.py ../config/simN.cfg
Plot [O/Fe]-[Fe/H]:
cd flexCE/flexCE/plot python plot_xfe_feh.py ofe_feh_sim0.cfg
Go to output plot directory:
cd flexCE/plots/plots
Copyright 2016 Brett Andrews.
flexCE is free software made available under the MIT License. For details see the LICENSE file.
Please cite Andrews et al. (2017) if you find this code helpful in your research. You may also want to check out Weinberg, Andrews, & Freudenburg (2017) for a companion analytic model.
The BibTeX entry for Andrews et al. (2017):
@ARTICLE{2017ApJ...835..224A, author = {{Andrews}, B.~H. and {Weinberg}, D.~H. and {Sch{\"o}nrich}, R. and {Johnson}, J.~A.}, title = "{Inflow, Outflow, Yields, and Stellar Population Mixing in Chemical Evolution Models}", journal = {\apj}, archivePrefix = "arXiv", eprint = {1604.08613}, keywords = {galaxies: ISM, Galaxy: evolution, Galaxy: formation, Galaxy: general, Galaxy: stellar content, stars: abundances}, year = 2017, month = feb, volume = 835, eid = {224}, pages = {224}, doi = {10.3847/1538-4357/835/2/224}, adsurl = {http://adsabs.harvard.edu/abs/2017ApJ...835..224A}, adsnote = {Provided by the SAO/NASA Astrophysics Data System} }