8000 JP-1294 Update coron3 for new outlier detection application by stscieisenhamer · Pull Request #4968 · spacetelescope/jwst · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JP-1294 Update coron3 for new outlier detection application #4968

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

Conversation

stscieisenhamer
Copy link
Collaborator
@stscieisenhamer stscieisenhamer commented May 19, 2020

Resolves JP-1294 / #4556

Level 2c outputs are gone due to needing intent to
be redefined for these.

DQ is not propagated nor used during stack, klip, and subtraction.
@codecov
Copy link
codecov bot commented May 19, 2020

Codecov Report

Merging #4968 into master will increase coverage by 0.04%.
The diff coverage is 65.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4968      +/-   ##
==========================================
+ Coverage   52.48%   52.52%   +0.04%     
==========================================
  Files         403      403              
  Lines       35729    35739      +10     
  Branches     5544     5546       +2     
==========================================
+ Hits        18751    18771      +20     
+ Misses      15841    15830      -11     
- Partials     1137     1138       +1     
Flag Coverage Δ
#unit 52.52% <65.62%> (+0.04%) ⬆️
Impacted Files Coverage Δ
jwst/coron/stack_refs.py 21.42% <ø> (ø)
jwst/pipeline/calwebb_coron3.py 22.38% <0.00%> (+3.15%) ⬆️
jwst/datamodels/cube.py 100.00% <100.00%> (ø)
jwst/datamodels/model_base.py 85.38% <100.00%> (+0.11%) ⬆️
jwst/__init__.py 60.00% <0.00%> (-6.67%) ⬇️
jwst/extract_1d/extract1d.py 38.00% <0.00%> (ø)

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 0f51a32...bbc7061. Read the comment docs.

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.

LGTM

@hbushouse hbushouse added this to the Build 7.6 milestone May 20, 2020
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.

I think this all looks OK. Just needs a change log entry.

@stscieisenhamer stscieisenhamer marked this pull request as ready for review May 22, 2020 15:32
Copy link
Collaborator
@jdavies-st jdavies-st 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. I really like the to_container() method in CubeModel. I suspect it handles closing its file handles OK on cleanup?

@stscieisenhamer stscieisenhamer merged commit 50c0b34 into spacetelescope:master May 26, 2020
2) Accumulate all reference PSF images into a single product
3) Align every PSF image to every science target image
4) Compute an optimal PSF fit and subtract it from every science target image
5) Compare the PSF-subtracted target images against one another to identify outliers
Copy link
Collaborator

Choose a reason for hiding this comment

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

This line needs to be removed - it's replaced by item 1 (we still have a total of 5 steps, not 6).

stscieisenhamer added a commit to stscieisenhamer/jwst that referenced this pull request Jun 5, 2020
…escope#4968)

Changes:
* Fix spelling in code comments
* Run outlier detection on each psf.
* Apply outlier to each target
  Level 2c outputs are gone due to needing intent to
  be redefined for these.

  DQ is not propagated nor used during stack, klip, and subtraction.
* Updated logging for new step order
* Update saving of CRFINTS results
* Update comment wording
* Remove unnecessary commented-code
* Add to_container method to CubeModel
* Refactor data conversion from CubeModel to ModelContainer
* Add tests for getarray_noinit
* Restore a deleted comment about skipped resampling
* Update changelog
* Fixing single to double back-tick issue. uhhhhhg.
* Remove unused code in test
* Fix random PEP8 issues in tests
* Update coron3 regtest
* Update coron3 pipeline documentation
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
0