-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LMC Bar method added #50
LMC Bar method added #50
Conversation
Added G03_LMCAve reference.
Added data for G03_LMCAve law.
Added tests for G=£_LMCAve law.
The code works, I am using it. Unfortunately, I could not solve the various test errors from @inferred. I wonder whether they might depend on the very old Unitful and UnitfulAstro package versions listed in the Project.toml file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Just a few comments regarding tests and domain errors.
I see there were several updates in the main branch I did not include. My fault, of course. As a matter of fact, this fork was ready since several months, but I never manage to pull a request for a long story (I was in contact with one of the developers of this package that, I guess, eventually left the role but I was waiting for comments by him). Anyway, I did not change any part of the code apart from adding the g03lmc recipe. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #50 +/- ##
==========================================
+ Coverage 99.61% 99.62% +0.01%
==========================================
Files 10 10
Lines 261 270 +9
==========================================
+ Hits 260 269 +9
Misses 1 1 ☔ View full report in Codecov by Sentry. |
Fixes #44 and lgtm |
Thank you for this all! Should some docs and a plot also be added, similar to past models? |
Hi, I have thought about this. However, the LMC extinction curve I've added is from a paper (Gordon et al. 2003) already considered in the package. And there are no plots based on these recipes. So, I did not prepare any plot. Nevertheless, if needed, it would be easy to prepare some. |
I pushed a commit to add the (short) docstring to the I would be happy to merge as-is and worry about the plot at a later time. |
I agree. |
Alrighty, let's get it y'all. Thanks @stefanocovino for this really nice PR! Oh yea, did we want to squash any commits? Totally fine either way, just getting back up to speed on what maintenance things are preferred here |
Sorry I didn't see your edit -- I don't usually worry about squashing unless I know there's a lot of junk commits that I don't think have value (i.e. I did something wrong and just pushed a new commit rather than reverting). |
Dear friends,
I've added, some time ago, the LMC average model in Gordon et al. (2003) to the list of the available recipes. Might it be of interest for the main branch?
Stefano