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

Values to perform the operation. Quantity, numerical values and CCDData are also suported.

inplace: bool, optional

If True, the operations will be performed inplace in the frame.

logger: `~logging.Logger`

Python logger to log the actions.

Returns:
FrameData

New cosmic-rays corrected FrameData instance if not inplace, else the image FrameData instance.

Notes