8000 Revert Fourier Transform code to avoid Poppy's recently updated sign convention (JP-2618) by dmggh · Pull Request #6967 · spacetelescope/jwst · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Revert Fourier Transform code to avoid Poppy's recently updated sign convention (JP-2618) #6967

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

Merged
merged 4 commits into from
Aug 8, 2022

Conversation

dmggh
Copy link
Contributor
@dmggh dmggh commented Aug 6, 2022

Poppy was recently updated to change the sign convention used in exponents in the Fourier transform calculation. This update reverts the ami_analyze code to use an earlier code, in the matrix_dft.py module.

Resolves JP-2618

Checklist

  • 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)

@dmggh dmggh added this to the Build 9.0 milestone Aug 6, 2022
@dmggh dmggh requested a review from hbushouse August 6, 2022 03:50
@dmggh dmggh self-assigned this Aug 6, 2022
@github-actions github-actions bot added the ami label Aug 6, 2022
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.

Code updates look good. Just need to fix the one issue that's killing all of the CI tests.

@codecov
Copy link
codecov bot commented Aug 8, 2022

Codecov Report

Merging #6967 (9a4fabe) into master (7bc9079) will decrease coverage by 0.06%.
The diff coverage is 56.03%.

@@            Coverage Diff             @@
##           master    #6967      +/-   ##
==========================================
- Coverage   79.44%   79.37%   -0.07%     
==========================================
  Files         414      415       +1     
  Lines       37369    37463      +94     
==========================================
+ Hits        29689    29738      +49     
- Misses       7680     7725      +45     
Flag Coverage Δ *Carryforward flag
nightly 79.36% <60.39%> (-0.05%) ⬇️ Carriedforward from a985323
unit 53.13% <19.60%> (-0.08%) ⬇️

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

Impacted Files Coverage Δ
jwst/ami/matrix_dft.py 53.57% <54.05%> (ø)
jwst/ami/instrument_data.py 88.23% <100.00%> (-0.50%) ⬇️
jwst/ami/utils.py 88.25% <100.00%> (+1.87%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@hbushouse
Copy link
Collaborator

A regression test run against this branch shows what I assume are expected differences in the ami_analyze outputs (https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/372/#showFailuresLink) and the one unit test failure due to the doc string problem that's also killing the CI tests here. So once that unit test gets fixed, this should be good to go.

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 now. Will merge when some other tests of previous mergers have completed.

@hbushouse hbushouse merged commit 495831c into master Aug 8, 2022
@hbushouse hbushouse deleted the JP-2618 branch August 8, 2022 21:45
@hbushouse hbushouse added the 8.1 patch PR candidate for an 8.1 patch release label Aug 30, 2022
zacharyburnett pushed a commit to zacharyburnett/jwst that referenced this pull request Aug 31, 2022
…convention (JP-2618) (spacetelescope#6967)

* Revert Fourier Transform code to avoid Poppy's recently updated sign convertion

* Updated PR number

* Reconcile arg list

* Delete example in docs

(cherry picked from commit 495831c)
@hbushouse hbushouse modified the milestones: Build 9.0, Build 8.1.2 Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.1 patch PR candidate for an 8.1 patch release ami_analyze ami
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0