Galmoss: A package for GPU-accelerated galaxy profile fitting
Author
Chen, Mi
Souza, Rafael S. de
Xu, Quanfeng
Shen, Shiyin
Chies-Santos, Ana L.
Ye, Renhao
Canossa-Gosteinski, Marco A.
Cong, Yanping
Attention
2299/27863
Abstract
We introduce galmoss, a python-based, torch-powered tool for two-dimensional fitting of galaxy profiles. By seamlessly enabling GPU parallelization, galmoss meets the high computational demands of large-scale galaxy surveys, placing galaxy profile fitting in the CSST/LSST-era. It incorporates widely used profiles such as the Sérsic, Exponential disk, Ferrer, King, Gaussian, and Moffat profiles, and allows for the easy integration of more complex models. Tested on 8289 galaxies from the Sloan Digital Sky Survey (SDSS) g-band with a single NVIDIA A100 GPU, galmoss completed classical Sérsic profile fitting in about 10 min. Benchmark tests show that galmoss achieves computational speeds that are 6 × faster than those of default implementations.