-
Notifications
You must be signed in to change notification settings - Fork 28
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
Adding source detection step #608
Conversation
@cshanahan1 Please fix style changes and rebase |
f3d704e
to
f6c5bba
Compare
d4bbcaa
to
f163d57
Compare
This looks reasonable to me. It looks like the style failure has to do with some kind of configuration error with the new pre-commit step? And then we need to add photutils as a dependency so that the tests can run? |
759ecb5
to
56fbcf2
Compare
80fd135
to
ccbed39
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #608 +/- ##
==========================================
+ Coverage 63.13% 63.31% +0.17%
==========================================
Files 76 78 +2
Lines 4036 4113 +77
==========================================
+ Hits 2548 2604 +56
- Misses 1488 1509 +21
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
d362010
to
7e2e34a
Compare
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 to me.
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.
This looks good to me. I added some comments in-line that may resolve the half-pixel offsets you're seeing. Most important outstanding questions for me are:
- Do you still think there are especially fragile bits of source detection that we should be tracking? I think I'd probably record them with comments.
- I had the impression in our testing that we found that subtracting the background and then photometering the sky-subtracted image was better performing than including the background in the threshold. Has your view there developed?
5fe024b
to
9200cda
Compare
is this ready to merge? |
Should we merge RAD PR#215 and roman_datamodels PR#132 first? |
The only checks here failing are codecov. I did write tests that should cover every line, but they are not enabled under CI because they require a connection to roman CRDS. Is there a way to run the step and not require this connection so the tests can run? this step doesnt require a reference file. |
I think that if the test doesn't need a reference file then it should be safe to remove the |
I tried skipping the decorator but it still tries to make the connection |
If the tests pass, I'm good with merging this PR. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
i'm going to merge this once checks pass |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
* adding source detection step
Resolves RCAL-423
Adds the source catalog step, which uses DAOStarFinder to detect point sources and writes out and returns a catalog.
Checklist
CHANGES.rst
under the corresponding subsection