Skip to content
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

RCAL-828: add PSF bits to source catalog. #1243

Conversation

mairanteodoro
Copy link
Collaborator

@mairanteodoro mairanteodoro commented May 17, 2024

Resolves RCAL-828

This PR addresses the implementation of PSF photometry into SourceCatalogStep.

Regression Tests
Regression tests are all passing.
https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/775/
https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/798/
https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/808/
https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/809/
https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/814/

Checklist

  • added entry in CHANGES.rst under the corresponding subsection
  • updated relevant tests
  • updated relevant documentation
  • updated relevant milestone(s)
  • added relevant label(s)
  • ran regression tests, post a link to the Jenkins job below. How to run regression tests on a PR

@mairanteodoro mairanteodoro changed the title Rcal 828 add psf bits to source catalog RCAL-828: add PSF bits to source catalog. May 17, 2024
Copy link

codecov bot commented May 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.99%. Comparing base (9662356) to head (87dd5e5).
Report is 192 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1243      +/-   ##
==========================================
+ Coverage   78.87%   78.99%   +0.11%     
==========================================
  Files         117      117              
  Lines        8071     8101      +30     
==========================================
+ Hits         6366     6399      +33     
+ Misses       1705     1702       -3     
Flag Coverage Δ *Carryforward flag
nightly 62.79% <ø> (ø) Carriedforward from 9662356

*This pull request uses carry forward flags. Click here to find out more.

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

Copy link
Collaborator

@schlafly schlafly left a 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. Let's make sure it runs for both L2 and L3 products; I suspect it will not at the moment.. Can you compare a source_detection catalog with a source_catalog PSF catalog and see how similar they are? We want the positions to be ~the same at the ~0.01 pix level.

@mairanteodoro
Copy link
Collaborator Author

mairanteodoro commented May 30, 2024

Comparison between the results from source_detection and source_catalog (for all plots, the vertical and horizontal lines correspond to the range between -0.01 and +0.01 pix):
det_vs_cat

Comparison between the results from source_detection and the "truth" coordinates used in romanisim for source injection:
det_vs_truth

Comparison between the results from source_catalog and the "truth" coordinates used in romanisim for source injection:
cat_vs_truth

@mairanteodoro mairanteodoro marked this pull request as ready for review May 30, 2024 19:53
@mairanteodoro mairanteodoro requested a review from a team as a code owner May 30, 2024 19:53
@mairanteodoro mairanteodoro requested a review from schlafly May 30, 2024 21:05
@github-actions github-actions bot added the documentation Improvements or additions to documentation label May 31, 2024
Copy link
Collaborator

@schlafly schlafly left a 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, thanks. I left one inline comment.

@mairanteodoro mairanteodoro merged commit f22e4b9 into spacetelescope:main Jun 7, 2024
30 checks passed
@nden nden added this to the 24Q4_B15 milestone Jul 19, 2024
zacharyburnett added a commit to zacharyburnett/romancal that referenced this pull request Jul 22, 2024
Co-authored-by: zacharyburnett <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Brett <[email protected]>
Co-authored-by: D Davis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants