rcthomas / es

Elementary Supernova Spectrum Synthesis
http://c3.lbl.gov/es
Other
12 stars 8 forks source link

Alternate opacity profiles #12

Open astrobit opened 8 years ago

astrobit commented 8 years ago

Hi Rollin, I've finally updated my fork of es with the code that I've been using for a couple of years now. This code has a few significant features included:

I've done some testing to confirm that these changes don't affect the normal output. The basic tests are in a folder named test; data in the test/data folder were generated from the .yaml files in test/yaml using 0.98.1; you can run the tests from the test folder using tests.sh, the resulting log files (under test/log) should be empty if successful.

The user specified opacity profile isn't available through syn++ or synapps - I couldn't figure out an easy way to include this feature; hence the addition of the include files and library to the installation directory. Anyone else who wants to use this feature will have to build the code themselves. I have a bunch of code that is doing this already publicly available on github under astrobit/analysis_tools; (c.f. line_routines.cpp and code that uses the associated liblinerout library.) That repository is a bit messy right now; I'm working a bit this summer on making it all a bit more user friendly.

If you have any questions you can contact me directly at bwmulligan@astro.as.utexas.edu.

Cheers, -Brian W. Mulligan