Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.2 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.2 KB

ngmix

Build Status

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.

dependencies

  • numpy
  • numba >= 0.43

optional dependencies

  • scipy: for image fitting using the Levenberg-Marquardt fitter
  • galsim: for performing metacalibration operations.
  • scikit-learn: for sampling multivariate PDFs

installation

# 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

Notes on versions

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.