View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Cosmic rays and spectra

kafeen wrote on Nov 04, 2007

Does anyone know if there's a particular cosmic ray removal package that's really good at removing cosmic rays from spectra? Thanks!

Ivan Ramirez wrote on Nov 04, 2007

I always use "doecslit" to do the final extraction of the spectra. Setting "clean=yes" and "sparams.weights=variance" there removes most of the cosmic rays. I should say I've tested this with bright stars only (S/N>~50) so I'm not sure if this will always work that well.

Michael Gregg wrote on Nov 04, 2007

I sometimes run LACOSMIC on my 2D spectra before extracting.
It's simple to download and install, and there are versions for spectra and images:

http://www.astro.yale.edu/dokkum/lacosmic/

Last post on Nov 04, 2007