lacosmic#
Version: 1.4.0
Date: Jan 20, 2026
lacosmic is a Python package to remove cosmic
rays from an astronomical image using the L.A.Cosmic algorithm.
The algorithm is based on Laplacian edge detection
and is described in van Dokkum 2001 (PASP 113, 1420).
Important
If you use lacosmic for a project that leads to a
publication, please include a citation to the Zenodo record.
Installation#
Requirements#
lacosmic has the following runtime dependencies:
Installing the latest released version#
The latest released version can be installed with pip:
python -m pip install lacosmic