karllark / dust_extinction

Astronomical Dust Extinction
http://dust-extinction.readthedocs.io
BSD 3-Clause "New" or "Revised" License
37 stars 23 forks source link

Add version of FM90 using B3 instead of C3 #201

Closed karllark closed 9 months ago

karllark commented 9 months ago

The FM90 formulation for the bump "strength" is C3. This is not the amplitude. That is C3/gamma^2. For ease of interpretation and fitting, it is better to use the bump amplitude B3 = C3/gamma^2. B3 is then the height of the 2175 A bump. And B3 is not strongly correlated with gamma in the fitting, unlike C3.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (20babdc) 99.64% compared to head (60f99a7) 99.88%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #201 +/- ## ========================================== + Coverage 99.64% 99.88% +0.23% ========================================== Files 8 8 Lines 843 863 +20 ========================================== + Hits 840 862 +22 + Misses 3 1 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.