This PR make some changes to the bad pixel detection and cleaning routines, specific updates include:
Splitting of pixel finding and fixing routines into separate function calls.
The addition of an early version of a new finding routine using an image gradient based method. Still requires further development.
The addition of a new fixing routine based on a 2D interpolation of nearby pixels.
This change will break backwards compatibility with previous versions of spaceKLIP, as the fix_bad_pixels() function has been fundamentally changed. While this isn't ideal, the new structure should allow for more flexibility moving forward, where further breaks to backwards compatibility are unlikely.
This PR make some changes to the bad pixel detection and cleaning routines, specific updates include:
This change will break backwards compatibility with previous versions of spaceKLIP, as the
fix_bad_pixels()
function has been fundamentally changed. While this isn't ideal, the new structure should allow for more flexibility moving forward, where further breaks to backwards compatibility are unlikely.