Skip to content
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

Laplace filter self-cal stacks to find OPEN pixels #11

Open
jdavies-st opened this issue Jul 1, 2024 · 1 comment
Open

Laplace filter self-cal stacks to find OPEN pixels #11

jdavies-st opened this issue Jul 1, 2024 · 1 comment

Comments

@jdavies-st
Copy link
Collaborator

jdavies-st commented Jul 1, 2024

After some discussion with the Euclid NISP folks, it may make sense to use a 2D Laplace kernel to make OPEN and ADJ_OPEN pixels stand out more in OpenPixelStep. Convolving with a kernel something like:

[[0,  1, 0],
 [1, -4, 1],
 [0,  1, 0]]

before thresholding will make them stand out more.

@jdavies-st
Copy link
Collaborator Author

Given that the central pixel is set to NaN in RampFitStep, this short-circuits the Laplace filter if run on the _rate or _cal files. It might make more sense to make a stack from the first group of the constituent _jump files, i.e. before the pixel values are set to NaN for bad pixels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant