Gaussian mixture models and other tools for working with 2d images, implemented in python. The code is made fast using the numba package.
For some examples, please see the wiki.
- numpy
- numba >= 0.43
- scipy: for image fitting using the Levenberg-Marquardt fitter
- galsim: for performing metacalibration operations.
- scikit-learn: for sampling multivariate PDFs
# using conda. This also installs numba and numpy
conda install -c conda-forge ngmix
# from source. In this case you need to install numba yourself
python setup.py install
conda install numba
The api for fitting routines and "bootstrapping" code was rewritten for the ngmix version 2 release. This is a "breaking change", so if you have existing code that uses the ngmix version 1 apis you most likely will need to update it. You can also install version 1.3.8 to get the old api.
The wiki has been updated to reflect the new usage patterns.