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.
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.