This code is a port of the LSST codebase that deals with finding and masking cosmic ray events on images. This is a python/C++ based project which is built with the python setuptools and uses cmake in the background.
The following packages are required in order to compile the C++ code:
- Boost (version 1.36.0 or newer)
- OpenMP (any flavor that uses the OpenMP standard API should work)
- Gnu Scientific Library
- Cfitsio
- Minuit2
- AST (from the LSST git fork)
- FFTW
- Eigen3
- Python (version 3.7 or newer)
- pybind11
- ndarray
The following Python packages are required to run the python side of the code:
- numpy
- astropy
- setuptools
- Clone this repository
- Run the install script
git clone https://github.com/DarkEnergySurvey/cosmicRays.git
cd cosmicRays
python setup.py build
python setup.py install
You can specify an install location with
python setup.py install --prefix=<path to install>