UFig v1: The ultra-fast image generator
Silvan Fischbacher, Beatrice Moser, Tomasz Kacprzak, Luca Tortorelli, Joerg Herbel, Claudio Bruderer, Uwe Schmitt, Alexandre Refregier, Joel Berge, Lukas Gamper, Adam Amara
Published: 2024/12/11
Abstract
With the rise of simulation-based inference (SBI) methods, simulations need to be fast as well as realistic. $\texttt{UFig v1}$ is a public Python package that simulates astronomical images with exceptional speed, taking approximately the same time as source extraction. This makes it particularly well-suited for SBI methods where computational efficiency is crucial. To render an image, $\texttt{UFig}$ requires a galaxy catalog, and a description of the point spread function (PSF). It can also add background noise, sample stars using the Besan\c{c}on model of the Milky Way, and run $\texttt{SExtractor}$ to extract sources from the rendered image. The extracted sources can be matched to the intrinsic catalog, flagged based on $\texttt{SExtractor}$ output and survey masks, and emulators can be used to bypass the image simulation and extraction steps. A first version of $\texttt{UFig}$ was presented in Berg\'e et al. (2013) and the software has since been used and further developed in a variety of forward modelling applications.