Skip to content

removing hard coding of extinction Blaw Rv value - #881

Merged
karllark merged 2 commits into
BEAST-Fitting:masterfrom
karllark:remove_RvB_hard_code
Nov 4, 2026
Merged

karllark merged 2 commits into
BEAST-Fitting:masterfrom
karllark:remove_RvB_hard_code

Conversation

@karllark

@karllark karllark commented Nov 3, 2026

Copy link
Copy Markdown
Member

The Blaw for a dust extinction mixture model can be any extinction model. Previously, it was always the G03_SMCBar, so always had a value of 2.74. This is not the case if the G24_SMCAvg model is used instead (and it should be) that has Rv = 3.03. So, remove the hard coding!

Thanks to Ben Gibson for pointing out this issue.

@karllark karllark added the bug label Nov 3, 2026
@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 38.99%. Comparing base (8fe542e) to head (dc91e09).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
beast/physicsmodel/dust/extinction.py 50.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #881   +/-   ##
=======================================
  Coverage   38.99%   38.99%           
=======================================
  Files         109      109           
  Lines       10638    10642    +4     
=======================================
+ Hits         4148     4150    +2     
- Misses       6490     6492    +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@karllark
karllark merged commit d76c236 into BEAST-Fitting:master Nov 4, 2026
10 of 11 checks passed
@karllark
karllark deleted the remove_RvB_hard_code branch November 4, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant