-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
cosmic rays at image edges #12
Comments
Hi @crawfordsm. Sorry for the delay. I have been at AAS. I think I originally (intentionally) ignored cosmic rays within a few pixels of the edges. I found that it was producing more artifacts than finding true cosmic rays. I didn't think this would be an issue as the edges of images are often rife with issues. I am open to suggestions though. How close to the edges were you considering? |
No worries! It was actually just in a test script that I had written and the random ones that were at the edge of the pixels were not being detected. These were typically within a few pixels of the edges. If it's a known issue that you have looked into then I wouldn't worry about it, but it might be worthwhile to add a note to the documentation. |
I have also run into this. It's the only thing that doesn't seem to work as well as the original lacos_spec (even after setting |
There is some evidence that the CR residuals I still see after changing |
The extra residuals I was seeing close to edges (compared with This happens both at the array edges and also next to columns that are flagged as bad in |
OK, I confirm that the extra CR residuals I'm seeing at the edges of each amplifier seem to be due to the reason @cmccully mentioned -- that I have a patch that makes the 5x5 filter behave exactly the same as the IRAF implementation, which causes edge CRs to be identified properly (they don't get cleaned fully yet, but masking them is the main problem). This still needs extending to the 3x3 & 7x7 filters, but I'll post what I have in case you have immediate comments. It may be that the parallelization could be better optimized (I'm not really conversant with that stuff), but I believe I've got the OMP-related bugs out. |
Hi @cmccully -- have you run into any problems with cosmic rays at edges? I'm using the default parameters, and it seems to be having some problems detecting cosmic rays at the edge of the image. Is there something else I should be setting or is there something obvious I am missing?
I can send some example code if that helps and or explore it a little further.
The text was updated successfully, but these errors were encountered: