An open API service indexing awesome lists of open source software.

https://github.com/esheldon/ngmix

Gaussian mixtures and image processing implemented in python
https://github.com/esheldon/ngmix

c image-processing python

Last synced: 3 months ago
JSON representation

Gaussian mixtures and image processing implemented in python

Awesome Lists containing this project

README

        

ngmix
=====

[![Build Status](https://github.com/esheldon/ngmix/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/esheldon/ngmix/actions/workflows/test.yml)

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](https://github.com/esheldon/ngmix/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
------------
```bash
# 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.