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

Clean Cosmic Rays module is too aggressive #49

Open
kelockhart opened this issue Jan 18, 2017 · 2 comments
Open

Clean Cosmic Rays module is too aggressive #49

kelockhart opened this issue Jan 18, 2017 · 2 comments

Comments

@kelockhart
Copy link

This is especially noticeable in data with a very narrow PSF, such as arc lamps or data taken with the new detector (early 2016 onwards). In data with a very narrow PSF, the peak of emission lines are being clipped and the flux misassigned to the wrong spaxels and wavelength channels.

@kelockhart
Copy link
Author

kelockhart commented Jan 18, 2017

Kbb/50 mas arc lamp, from 09/2016, after Clean Cosmic Ray but before cube assembly (e.g. still in 2D). Holes are seen at the peak of several bright emission lines:
2016_09_kbb50_arc_2d_afterccr

And the bad pixel mask from the same. Dark spots indicates pixels that have been marked as bad, mostly by the Clean Cosmic Ray routine. These align with the holes seen in the previous image:
2016_09_kbb50_arc_2d_afterccr_badpixext

And the same, after assembly into the 3D cube. The top section of the figure shows a channel map of the entire cube, centered on the peak of one of the bright emission lines. The bottom section shows the spectrum in one spaxel (highlighted in green in the channel map). The peak of the emission line has been removed by the Clean Cosmic Ray module:
2016_09_kbb50_arc_3d_cube_afterccr

@followthesheep
Copy link
Contributor

99% percent of bad pixels are static pixels. Only about 1% are cosmic rays. We are now prioritizing identification and removal of static bad pixels. See #69

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

2 participants