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

JP-2645 - Snowball and shower flagging in Jump #118

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

mwregan2
Copy link
Collaborator

@mwregan2 mwregan2 commented Sep 11, 2022

Resolves JP-2645

Closes #

This PR addresses ...

Checklist

  • added entry in CHANGES.rst (either in Bug Fixes or Changes to API)
  • updated relevant tests
  • updated relevant documentation
  • updated relevant milestone(s)
  • added relevant label(s)

@codecov
Copy link

codecov bot commented Sep 21, 2022

Codecov Report

Base: 72.33% // Head: 0.00% // Decreases project coverage by -72.33% ⚠️

Coverage data is based on head (c0e2fae) compared to base (57d65cd).
Patch coverage: 0.00% of modified lines in pull request are covered.

❗ Current head c0e2fae differs from pull request most recent head 5eba1e1. Consider uploading reports for the commit 5eba1e1 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #118       +/-   ##
==========================================
- Coverage   72.33%   0.00%   -72.34%     
==========================================
  Files          15      15               
  Lines        2534    2622       +88     
==========================================
- Hits         1833       0     -1833     
- Misses        701    2622     +1921     
Impacted Files Coverage Δ
src/stcal/jump/jump.py 0.00% <0.00%> (-11.85%) ⬇️
src/stcal/jump/twopoint_difference.py 0.00% <ø> (-80.30%) ⬇️
src/stcal/basic_utils.py 0.00% <0.00%> (-100.00%) ⬇️
src/stcal/linearity/linearity.py 0.00% <0.00%> (-100.00%) ⬇️
src/stcal/saturation/saturation.py 0.00% <0.00%> (-98.22%) ⬇️
src/stcal/dqflags.py 0.00% <0.00%> (-92.31%) ⬇️
src/stcal/ramp_fitting/utils.py 0.00% <0.00%> (-85.09%) ⬇️
src/stcal/dark_current/dark_sub.py 0.00% <0.00%> (-81.97%) ⬇️
src/stcal/ramp_fitting/ols_fit.py 0.00% <0.00%> (-72.07%) ⬇️
... and 7 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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. Just a few minor comments/corrections.

CHANGES.rst Outdated Show resolved Hide resolved
src/stcal/jump/twopoint_difference.py Show resolved Hide resolved
src/stcal/jump/jump.py Show resolved Hide resolved
src/stcal/jump/jump.py Outdated Show resolved Hide resolved
src/stcal/jump/jump.py Show resolved Hide resolved
src/stcal/jump/jump.py Outdated Show resolved Hide resolved
src/stcal/jump/jump.py Show resolved Hide resolved
src/stcal/jump/jump.py Outdated Show resolved Hide resolved
tests/test_jump.py Show resolved Hide resolved
@hbushouse
Copy link
Collaborator

I assume that docs on the jwst side will be updated to include info about these new capabilities.

@hbushouse
Copy link
Collaborator

@ddavis-stsci Can you (or a Roman designee) review this for compatibility with Roman pipeline use?

Copy link
Collaborator

@ddavis-stsci ddavis-stsci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This passes the roman regression tests (https://plwishmaster.stsci.edu:8081/me/my-views/view/all/job/RT/job/Roman-devdeps/135/) so I don't see a problem with it.

Copy link
Collaborator

@cshanahan1 cshanahan1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm so far, i am going to test it out on some data before i hit approve just to get a better idea of how this works

src/stcal/jump/jump.py Show resolved Hide resolved
Copy link
Collaborator

@hbushouse hbushouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I think it all looks good to me now.

@hbushouse
Copy link
Collaborator

@cshanahan1 have you had a chance to do any testing?

@cshanahan1
Copy link
Collaborator

@hbushouse yes, will finish that up and add approval + review on corresponding jwst pr

@cshanahan1 cshanahan1 self-requested a review October 6, 2022 21:12
Copy link
Collaborator

@cshanahan1 cshanahan1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 348 should be changed, a simple subtraction might cause issues in some cases, but mike has tested this as-is and its fine for now.

@cshanahan1 cshanahan1 merged commit b3d39ba into spacetelescope:main Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants