| Issue |
A&A
Volume 703, November 2025
|
|
|---|---|---|
| Article Number | A269 | |
| Number of page(s) | 15 | |
| Section | Numerical methods and codes | |
| DOI | https://doi.org/10.1051/0004-6361/202555530 | |
| Published online | 24 November 2025 | |
torchmfbd: A flexible multi-object, multi-frame blind deconvolution code
1
Instituto de Astrofísica de Canarias (IAC),
Avda Vía Láctea S/N,
38200 La Laguna,
Tenerife,
Spain
2
Departamento de Astrofísica, Universidad de La Laguna,
38205 La Laguna,
Tenerife,
Spain
3
Institute for Solar Physics, Dept. of Astronomy, Stockholm University,
AlbaNova University Centre,
10691
Stockholm,
Sweden
4
Institute of Theoretical Astrophysics, University of Oslo,
PO Box 1029 Blindern,
0315
Oslo,
Norway
5
Rosseland Centre for Solar Physics, University of Oslo,
PO Box 1029 Blindern,
0315
Oslo,
Norway
★ Corresponding author: andres.asensio@iac.es
Received:
15
May
2025
Accepted:
24
September
2025
Context. Post-facto image restoration techniques are essential for improving the quality of ground-based astronomical observations, which are affected by atmospheric turbulence. Multi-object, multi-frame blind deconvolution (MOMFBD) methods are widely used in solar physics to achieve diffraction-limited imaging.
Aims. We present torchmfbd, a new open-source code for MOMFBD that leverages the PyTorch library to provide a flexible, GPU-accelerated framework for image restoration. The code is designed to handle spatially variant point spread functions (PSFs) and includes advanced regularization techniques.
Methods. The code implements the MOMFBD method using a maximum a posteriori estimation framework. It supports both wavefront-based and data-driven PSF parameterizations, including a novel experimental approach using nonnegative matrix factorization. Regularization techniques, such as smoothness and sparsity constraints, can be incorporated to stabilize the solution. The code also supports dividing large fields of view into patches and includes tools for apodization and destretching. The code architecture is designed to become a flexible platform over which new reconstruction and regularization methods can also be straightforwardly implemented.
Results. We demonstrate the capabilities of torchmfbd on real solar observations, showing its ability to produce high-quality reconstructions efficiently. The GPU acceleration significantly reduces computation time, making the code suitable for large datasets.
Key words: methods: data analysis / methods: numerical / techniques: image processing
© The Authors 2025
Open Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.