Skip to content

Conversation

@jemorrison
Copy link
Collaborator

@jemorrison jemorrison commented Mar 9, 2023

Resolves JP-3100

This PR moves the MIRI MRS straylight step before flat fielding in the calwebb_spec2 pipeline.

Checklist for maintainers

  • added entry in CHANGES.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant milestone
  • added relevant label(s)
  • ran regression tests, post a link to the Jenkins job below.
    How to run regression tests on a PR
  • Make sure the JIRA ticket is resolved properly

@jemorrison
Copy link
Collaborator Author

This change was made in calwebb_spec2 in the module _process_common.
Only MRS IFU data has the straylight step and MRS data is processed in the module.

BTY - the straylight step is called other places in the code - which does not make sense to me because it is only an
MRS step. For example _process_grism and _process_niriss_soss. But I guess it does not matter because in these cases it will just get skipped - so no harm done.

@codecov
Copy link

codecov bot commented Mar 10, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (aa1564e) 77.59% compared to head (6bab8a1) 77.61%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7486      +/-   ##
==========================================
+ Coverage   77.59%   77.61%   +0.01%     
==========================================
  Files         452      452              
  Lines       36091    36048      -43     
==========================================
- Hits        28005    27978      -27     
+ Misses       8086     8070      -16     
Flag Coverage Δ *Carryforward flag
nightly 77.60% <ø> (-0.01%) ⬇️ Carriedforward from aa1564e
unit 49.56% <0.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
jwst/pipeline/calwebb_spec2.py 93.93% <0.00%> (-0.38%) ⬇️

... and 24 files with indirect coverage changes

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.
📢 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.

LGTM.

Copy link
Collaborator

@drlaw1558 drlaw1558 left a comment

Choose a reason for hiding this comment

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

Looks fine to me too.

@hbushouse
Copy link
Collaborator

@hbushouse
Copy link
Collaborator

Regtest results look fine. Only expected differences due to S_STRAY keyword now showing up in flat_field step outputs, because the step has now been run before flat_field.

@hbushouse hbushouse merged commit 50eff3a into spacetelescope:master Mar 11, 2023
@jemorrison jemorrison deleted the JP-3100_Move_MRS_Straylight branch September 13, 2023 16:31
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.

3 participants