lacosmic

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).

Requirements

lacosmic has the following requirements:

pytest-astropy (0.10 or later) is required to run the test suite.

Installation

The latest released (stable) version of lacosmic can be installed with pip:

pip install lacosmic

User Documentation

Package to remove cosmic rays from an astronomical image using the L.A.Cosmic algorithm (van Dokkum 2001; PASP 113, 1420).

Functions

lacosmic(data, contrast, cr_threshold, ...)

Remove cosmic rays from an astronomical image using the L.A.Cosmic algorithm.

test(**kwargs)

Run the tests for the package.

Changelog

Developer Documentation