<p>The two most general, publicly available packages for galaxy image fitting (other than GALFIT) are probably
<a href="https://github.com/perwin/imfit" rel="noreferrer">Imfit</a> and
<a href="https://github.com/ICRAR/ProFit" rel="noreferrer">ProFit</a>. (Note that I am the developer of Imfit.)</p>
<p>There is also <a href="https://github.com/sibirrer/lenstronomy" rel="noreferrer">Lenstronomy</a>, which is specialized for fitting gravitational lenses; this might be more relevant to your particular needs, though I know very little about it.</p>

CC BY-SA 4.0
2021-04-11T14:19:39.250Z
2021-04-11T14:19:39.250Z
Peter Erwin
<p>Do you know of any other data analysis algorithm that fits 2-D analytic functions to galaxies and point sources directly to digital images, other than <a href="https://users.obs.carnegiescience.edu/peng/work/galfit/galfit.html" rel="nofollow noreferrer">GALFIT</a>? Especially to subtract lens light from strong lensing images?</p>

CC BY-SA 4.0
2021-04-11T14:01:39.283Z
Welcome to astronomy SE! Did I guess the link to the package correctly?
B--rian
<galaxy><gravitational-lensing><algorithm><fits>
Algorithm to fit galaxies
bea
# Algorithm to fit galaxies

(Asked by: username_0 on 2021-04-11)

Do you know of any other data analysis algorithm that fits 2-D analytic functions to galaxies and point sources directly to digital images, other than [GALFIT](https://users.obs.carnegiescience.edu/peng/work/galfit/galfit.html)? Especially to subtract lens light from strong lensing images?

**Tags:** galaxy, gravitational-lensing, algorithm, fits
> **Comments:**
> **username_1**: Welcome to astronomy SE! Did I guess the link to the package correctly?  

---

## 1 answers

### Answer by username_2 on 2021-04-11. Score: 7 | Accepted answer

The two most general, publicly available packages for galaxy image fitting (other than GALFIT) are probably
[Imfit](https://github.com/perwin/imfit) and
[ProFit](https://github.com/ICRAR/ProFit). (Note that I am the developer of Imfit.)

There is also [Lenstronomy](https://github.com/sibirrer/lenstronomy), which is specialized for fitting gravitational lenses; this might be more relevant to your particular needs, though I know very little about it.


---

