Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

MgeFit: Multi-Gaussian Expansion Fitting

Project description

MgeFit: Multi-Gaussian Expansion Fitting of Galactic Images

MgeFit is a Python implementation of the robust and efficient Multi-Gaussian Expansion (MGE) fitting algorithm for galactic images of Cappellari (2002).


If you use this software for your research, please cite Cappellari (2002). The BibTeX entry for the paper is:

    author = {{Cappellari}, M.},
    title = {Efficient multi-Gaussian expansion of galaxies},
    journal = {MNRAS},
    eprint = {arXiv:astro-ph/0201430}
    year = {2002},
    volume = {333},
    pages = {400-410},
    doi = {10.1046/j.1365-8711.2002.05412.x}


install with:

pip install mgefit

Without writing access to the global site-packages directory, use:

pip install --user mgefit


See mgefit/examples and the files headers.


Copyright (c) 1999-2020 Michele Cappellari

This software is provided as is without any warranty whatsoever. Permission to use, for non-commercial purposes is granted. Permission to modify for personal or internal use is granted, provided this copyright and disclaimer are included in all copies of the software. All other rights are reserved. In particular, redistribution of the code is not allowed.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mgefit, version 5.0.13
Filename, size File type Python version Upload date Hashes
Filename, size mgefit-5.0.13.tar.gz (11.5 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page