Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add option to have inclusive upper boundaries in fitting/excision. #1171

Merged
merged 3 commits into from
Sep 30, 2024

Conversation

rosteen
Copy link
Contributor

@rosteen rosteen commented Sep 24, 2024

Supersedes #1168 by making this behavior an optional toggle in fit_models, fit_continuum, and excise_regions rather than changing the default.

Closes #1167.

…inclusive upper bounds (so the upper bound is...excluded)
@rosteen rosteen added feature fitting Issues dealing with fitting of lines (or other spectral features) labels Sep 24, 2024
@rosteen rosteen added this to the v1.x milestone Sep 24, 2024
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.84%. Comparing base (016ffc2) to head (c3914a4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1171      +/-   ##
==========================================
- Coverage   86.87%   86.84%   -0.04%     
==========================================
  Files          63       63              
  Lines        4549     4553       +4     
==========================================
+ Hits         3952     3954       +2     
- Misses        597      599       +2     

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

@rosteen
Copy link
Contributor Author

rosteen commented Sep 30, 2024

Test failures are unrelated, I'm going to go ahead and merge.

@rosteen rosteen merged commit 610588e into astropy:main Sep 30, 2024
9 of 11 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature fitting Issues dealing with fitting of lines (or other spectral features)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

excise_regions() is not inclusive on the first boundary
1 participant