-
Notifications
You must be signed in to change notification settings - Fork 156
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
Convert tweakreg segmentation connectivity to integer #8309
Convert tweakreg segmentation connectivity to integer #8309
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8309 +/- ##
==========================================
+ Coverage 75.15% 75.21% +0.05%
==========================================
Files 470 474 +4
Lines 38604 38810 +206
==========================================
+ Hits 29014 29192 +178
- Misses 9590 9618 +28
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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, @jdavies-st
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.
looks good, thanks!
Regression test run started at https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1234 |
Regression test run is clean, as expected. Merging. |
…#8309) Co-authored-by: Howard Bushouse <bushouse@stsci.edu>
This PR fixes a bug when using the new
SourceFinder
(via segmentation) starfinder in tweakreg which was added in #8203. ConfigObj option always returns a string, and that causes problems when one wants options that are ints or floats. They need to be specifically cast to the correct type.Another reason to stop using
ConfigObj
. ;-)The bug is the following:
One may want to update one of the regtests to use
segmentation
as the starfinder. 2 other things for comment:The current
starfinder
kwarg in spec is fine, butsourcefinder
would be better, as most sources in JWST images are not stars, but galaxies. The more general term might be more accurate.Currently the
segmentation
method doesn't convolve the image first before running detection. This is done in the standardphotutils
docs and inSourceCatalogStep
, so perhaps this was an oversight and should be added. This is needed to boost S/N of detections.Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR