kammerje / spaceKLIP

Pipeline for reducing JWST high-contrast imaging data. Published in Kammerer et al. 2022 and Carter et al. 2022.
https://ui.adsabs.harvard.edu/abs/2022SPIE12180E..3NK/abstract
MIT License
16 stars 10 forks source link

Part 1 of #98 - Updates to coron1pipeline #99

Closed JarronL closed 11 months ago

JarronL commented 11 months ago

Part 1 of #98.

Added a number of updates to the default coron1pipeline, most importantly the exclusion of dark subtraction for subarrays. This is implemented through a new function run_single_file which sets a number of best-practice defaults, such as skipping darks, IPC, and persistence steps. It also sets some defaults for jump thresholds, saturation flagging parameters, and pseudo-ref pixel rows / columns. run_obs now calls run_single_file.

All of the changes here should not change the outcome of existing notebooks and scripts. The only thing I've done is include better defaults, added more options for simplicity, debugging, and and fixed some known bugs within the pipeline itself.

New pipeline options:

Changes to existing pipeline steps:

Changes to runobs:

JarronL commented 11 months ago

I realized there were going to be a number of merge conflicts between this PR and 1/f noise correction PR, so I have preemptively merged #102 into here.

Correct 1/f noise striping in stage1:

1/f cleaning routine adds about 100 msec for a single 320x320 frame. Expect time to increase proportional to frame size. See issue #97 for more information on operations.