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 9 forks source link

Better handling of bad pixel masking #134

Closed JarronL closed 7 months ago

JarronL commented 7 months ago

During 1/f noise correction step, rather than masking any pixel with some DQ flag as a bad pixel, only use the DO_NOT_USE values. Otherwise, some benign DQ flags (such as unstable bias) could flag the entire image as full of bad pixels.