We present the computational design and implementation of GalaPy, a hybrid C++/Python library for the spectral energy distribution (SED) modelling of galaxies. Originally introduced in Ronconi et al. (2024), GalaPy has been developed within the Italian galaxy formation and cosmology community as part of the ICSC – Centro Nazionale di Ricerca in High Performance Computing, Big Data e Quantum Computing. The library combines the performance of compiled C++ routines with the flexibility of Python, enabling efficient generation and fitting of physically motivated SED models. We describe the object-oriented architecture of the code, its hybrid parallelisation strategy, and the optimisations that ensure portability and minimal memory overhead. Parallel execution relies on a combination of vectorised array programming, shared-memory concurrency, and distributed-memory message passing. Recent updates include Bayesian evidence-based model selection and a fully analytical, panchromatic active galactic nucleus component. These additions further improve the physical realism and the statistical power of the framework. GalaPy thus provides a modular and extensible platform for galaxy modelling, designed to interface and adapt seamlessly to the next generation of large-scale astrophysical analyses.
GalaPy—Implementation strategies of the spectral modelling tool for galaxies in Python / Ronconi, T., Lapi, A.. - In: ASTRONOMY AND COMPUTING. - ISSN 2213-1337. - 55:(2026). [10.1016/j.ascom.2026.101079]
GalaPy—Implementation strategies of the spectral modelling tool for galaxies in Python
Lapi A.
2026-01-01
Abstract
We present the computational design and implementation of GalaPy, a hybrid C++/Python library for the spectral energy distribution (SED) modelling of galaxies. Originally introduced in Ronconi et al. (2024), GalaPy has been developed within the Italian galaxy formation and cosmology community as part of the ICSC – Centro Nazionale di Ricerca in High Performance Computing, Big Data e Quantum Computing. The library combines the performance of compiled C++ routines with the flexibility of Python, enabling efficient generation and fitting of physically motivated SED models. We describe the object-oriented architecture of the code, its hybrid parallelisation strategy, and the optimisations that ensure portability and minimal memory overhead. Parallel execution relies on a combination of vectorised array programming, shared-memory concurrency, and distributed-memory message passing. Recent updates include Bayesian evidence-based model selection and a fully analytical, panchromatic active galactic nucleus component. These additions further improve the physical realism and the statistical power of the framework. GalaPy thus provides a modular and extensible platform for galaxy modelling, designed to interface and adapt seamlessly to the next generation of large-scale astrophysical analyses.| File | Dimensione | Formato | |
|---|---|---|---|
|
Ronconi26_HPC.pdf
accesso aperto
Descrizione: pdf editoriale
Tipologia:
Versione Editoriale (PDF)
Licenza:
Creative commons
Dimensione
939.8 kB
Formato
Adobe PDF
|
939.8 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


