- Ruiz Cobo, Basilio
- Quintero Noda, C.
- Gafeira, R.
- Uitenbroek, H.
- Orozco Suárez, David
- Páez Mañá, E.
Future ground-based telescopes, such as the 4-metre class facilities DKIST and EST, will dramatically improve on current capabilities for simultaneous multi-line polarimetric observations in a wide range of wavelength bands, from the near-ultraviolet to the near-infrared. As a result, there will be an increasing demand for fast diagnostic tools, i.e., inversion codes, that can infer the physical properties of the solar atmosphere from the vast amount of data these observatories will produce. The advent of substantially larger apertures, with the concomitant increase in polarimetric sensitivity, will drive an increased interest in observing chromospheric spectral lines. Accordingly, pertinent inversion codes will need to take account of line formation under general non-local thermodynamic equilibrium (NLTE) conditions. Several currently available codes can already accomplish this, but they have a common practical limitation that impairs the speed at which they can invert polarised spectra, namely that they employ numerical evaluation of the so-called response functions to changes in the atmospheric parameters, which makes them less suitable for the analysis of very large data volumes. Here we present DeSIRe (Departure coefficient aided Stokes Inversion based on Response functions), an inversion code that integrates the well-known inversion code SIR with the NLTE radiative transfer solver RH. The DeSIRe runtime benefits from employing analytical response functions computed in local thermodynamic equilibrium (through SIR), modified with fixed departure coefficients to incorporate NLTE effects in chromospheric spectral lines. This publication describes the operating fundamentals of DeSIRe and describes its behaviour, robustness, stability, and speed. The code is ready to be used by the solar community and is being made publicly available. © ESO 2022., C. Quintero Noda was supported by the EST Project Office, funded by the Canary Islands Government (file SD 17/01) under a direct grant awarded to the IAC on ground of public interest. This activity has also received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No 739500. C. Quintero Noda also acknowledges the support of the ISAS/JAXA International Top Young Fellowship (ITYF) and the JSPS KAKENHI Grant Number 18K13596. This work was supported by ISAS/JAXA Small Mission-of-Opportunity program for novel solar observations and JSPS KAKENHI Grant Number JP18H05234. This work was supported by the Research Council of Norway through its Centres of Excellence scheme, project number 262622, and through grants of computing time from the Programme for Supercomputing. This work was supported by Fundação para a Cióncia e a Tecnologia (FCT) through the research grants UIDB/04434/2020 and UIDP/04434/2020. This work has also been supported by Spanish Ministry of Economy and Competitiveness through the project ESP-2016-77548-C5-1-R and RTI2018-096886-B-C53. D. Orozco Suárez also acknowledges financial support through the Ramón y Cajal fellowships. CITEUC is funded by National Funds through FCT-Foundation for Science and Technology (project: UID/Multi/00611/2013) and FEDER - European Regional Development Fund through COMPETE 2020 Operational Programme Competitiveness and Internationalization (project: POCI-01-0145-FEDER-006922). NSO is operated by the Association of Universities for Research in Astronomy (AURA), Inc. under cooperative agreement with the National Science Foundation (NSF)., With funding from the Spanish government through the Severo Ochoa Centre of Excellence accreditation SEV-2017-0709., Peer reviewed