Skip to content

Conversation

@jemorrison
Copy link
Collaborator

@jemorrison jemorrison commented Jun 16, 2020

This PR fixes the NIRSPEC slices not mapping properly.
A fix was required in pathloss and photom to remove wavelengths with NANs

Resolves #3910 / JP-932

@jemorrison jemorrison changed the title moving NAN wavelengths from photom and pathloss IFU steps Fix NIRSPEC IFU slices problem in JP-932 Jun 16, 2020
@codecov
Copy link

codecov bot commented Jun 17, 2020

Codecov Report

Merging #5047 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5047      +/-   ##
==========================================
- Coverage   53.04%   53.04%   -0.01%     
==========================================
  Files         401      401              
  Lines       35597    35601       +4     
  Branches     5518     5519       +1     
==========================================
+ Hits        18883    18884       +1     
- Misses      15576    15578       +2     
- Partials     1138     1139       +1     
Flag Coverage Δ
#unit 53.04% <0.00%> (-0.01%) ⬇️
Impacted Files Coverage Δ
jwst/pathloss/pathloss.py 48.37% <0.00%> (+0.19%) ⬆️
jwst/photom/photom.py 57.85% <0.00%> (-0.14%) ⬇️
jwst/extract_1d/extract.py 8.53% <0.00%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 300a16c...d2c5ed1. Read the comment docs.

@hbushouse hbushouse requested review from hbushouse and stscirij and removed request for stscirij June 17, 2020 11:26
@hbushouse hbushouse added this to the Build 7.6 milestone Jun 17, 2020
Copy link
Contributor

@stscirij stscirij 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

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.

Took me a bit of time to sort out the new logic in my head, but I think it looks OK.

Just need to add a change log entry.

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.

Ready to merge?

@jemorrison
Copy link
Collaborator Author

Yes it is ready to merge

@hbushouse hbushouse merged commit ff9fc33 into spacetelescope:master Jun 19, 2020
@jemorrison jemorrison deleted the JP-932 branch July 6, 2020 21:38
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.

IFU not mapping trace to sky for all wavelengths

3 participants