lacosmic¶
lacosmic
provides a Python function 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
PASP 113, 1420 (2001).
Requirements¶
lacosmic
has the following strict requirements:
Installation¶
The latest released (stable) version of lacosmic can be installed with pip:
pip install --no-deps lacosmic
Note
The --no-deps
flag is optional, but highly recommended if you
already have Numpy and Astropy installed, since otherwise pip will
sometimes try to “help” you by upgrading your Numpy and Astropy
installations, which may not always be desired.
User Documentation¶
Reference/API¶
Package to remove cosmic rays from an astronomical image using the L.A.Cosmic (PASP 113, 1420, 2001) algorithm.
Functions¶
lacosmic (data, contrast, cr_threshold, ...) |
Remove cosmic rays from an astronomical image using the L.A.Cosmic algorithm. |
test ([package, test_path, args, plugins, ...]) |
Run the tests using py.test. |