astropy / SPISEA

Stellar Population Synthesis Modeling
https://spisea.readthedocs.io/en/stable/index.html
64 stars 32 forks source link

Generic broken power-law extinction law #30

Closed mwhosek closed 3 years ago

mwhosek commented 4 years ago

I've implemented a new extinction law class, RedLawBrokenPowerLaw, which allows the user to define a broken power law for the extinction law. This is motivated by recent paper suggesting a broken-power law extinction law toward the Galactic Center (Nogueras-Lara+20). I defined the input variables to mimic those for the IMF broken power law.

In addition, a new test function, tests/test_reddening.py, was created to check the performance of this new extinction class.