{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/mathrm-morphofit-an-automated-galaxy","title":"$\\mathrm{morphofit}$: An automated galaxy structural parameters fitting package","arxiv_id":"2302.07890","date":"2023-02-15","proceeding":null,"authors":["Luca Tortorelli","Amata Mercurio"],"abstract":"In today's modern wide-field galaxy surveys, there is the necessity for parametric surface brightness decomposition codes characterised by accuracy, small degree of user intervention, and high degree of parallelisation. We try to address this necessity by introducing $\\mathrm{morphofit}$, a highly parallelisable $\\mathrm{Python}$ package for the estimate of galaxy structural parameters. The package makes use of wide-spread and reliable codes, namely $\\mathrm{SExtractor}$ and $\\mathrm{GALFIT}$. It has been optimised and tested in both low-density and crowded environments, where blending and diffuse light makes the structural parameters estimate particularly challenging. $\\mathrm{morphofit}$ allows the user to fit multiple surface brightness components to each individual galaxy, among those currently implemented in the code. Using simulated images of single S\\'ersic and bulge plus disk galaxy light profiles with different bulge-to-total luminosity ($\\mathrm{B/T}$) ratios, we show that $\\mathrm{morphofit}$ is able to recover the input structural parameters of the simulated galaxies with good accuracy. We also compare its estimates against existing literature studies, finding consistency within the errors. We use the package in Tortorelli et al. 2023 to measure the structural parameters of cluster galaxies in order to study the wavelength dependence of the Kormendy relation of early-type galaxies. The package is available on github (https://github.com/torluca/morphofit) and on the Pypi server (https://pypi.org/project/morphofit/).","url_abs":"https://arxiv.org/abs/2302.07890v2","url_pdf":"https://arxiv.org/pdf/2302.07890v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"mathrm-morphofit-an-automated-galaxy","repo_url":"https://github.com/torluca/morphofit","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}