Closed ianyuwong closed 5 months ago
Attention: Patch coverage is 0%
with 16 lines
in your changes missing coverage. Please review.
Project coverage is 58.02%. Comparing base (
4179c09
) to head (39fb3db
). Report is 321 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
jwst/extract_1d/apply_apcorr.py | 0.00% | 16 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Regression tests started at https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1500
Regression test results show the expected increases in the variance columns of x1d/x1dints files, along with some other unrelated differences. So this looks good.
Resolves JP-3642
Closes #8521
This PR fixes an error in the application of aperture correction factors to variance arrays in extract1d/apply_apcorr.py. New code splits the columns to which aperture correction is applied into the flux columns (flux_cols_to_correct) and the corresponding variance arrays (var_cols_to_correct). For the latter, it multiplies the square of the correction factor to the variance arrays.
Checklist for PR authors (skip items if you don't have permissions or they are not applicable)
CHANGES.rst
within the relevant release sectionupdated relevant documentation