cosmics_lacosmic#
- astropop.image.processing.cosmics_lacosmic(frame, inplace=False, **lacosmic_kwargs)#
Remove cosmic rays with LAcosmic. From astroscrappy package.
- Parameters:
- frame: `~astropop.framedata.FrameData` compatible
2D image to clean with LACosmic.
- inplace: bool, optional
If True, the operations will be performed inplace in the
frame
.- logger: `~logging.Logger`
Python logger to log the actions.
- Returns:
Notes
Detailed information about the Laplacian Cosmic Ray Identification method can be found on Dokkum,P.G. (2001) - PASP 113, 1420 (2001) https://arxiv.org/pdf/astro-ph/0108003.pdf.
If
frame
is not aFrameData
instance, inplies ininplace=False
, and a newFrameData
instance will be created.