Open Access
Issue
A&A
Volume 696, April 2025
Article Number A105
Number of page(s) 17
Section The Sun and the Heliosphere
DOI https://doi.org/10.1051/0004-6361/202453230
Published online 08 April 2025

© The Authors 2025

Licence Creative CommonsOpen 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.

1. Introduction

Unlike the photosphere, the solar chromosphere offers a very limited selection of spectral lines with sufficient magnetic sensitivity. This makes the inference of chromospheric magnetic fields a very challenging task. In the mid-chromosphere, magnetic fields are commonly probed using polarimetric measurements of the Ca II 8542 Å line (e.g., de la Cruz Rodríguez & van Noort 2017; Gǒsić et al. 2018; Esteban Pozuelo et al. 2019; Quintero Noda et al. 2019; Siu-Tapia et al. 2020) despite its weak polarization signals. However, the situation is even more difficult in the so-called temperature minimum region, which extends from the upper photosphere to the low chromosphere, where very few spectral lines form (Plaskett 1931; Waddell 1963; Stenflo et al. 1984, 2000). Among these few lines, for example, Mg I b2 5173 Å, K I D1 7698 Å, Na I D1 5896 Å, and D2 5890 Å, those that could potentially provide additional information have not yet been fully explored, leaving the magnetism at these heights largely unknown. This gap limits our understanding of the magnetic field topology and its connectivity between the photosphere and the chromosphere, which is crucial for understanding the energy transfer and interactions between the two layers.

A good candidate for probing the magnetic field in this region is the Mg I b2 line at 5173 Å, which is magnetically sensitive and forms across a wide range of heights (e.g., Stenflo et al. 1984; Lites et al. 1988; Stenflo & Keller 1997; Quintero Noda et al. 2018), effectively bridging the gap between the photospheric lines and the chromospheric Ca II 8542 Å line. With the ability to observe multiple spectral lines simultaneously, studies at these heights are already possible with unprecedented spatial and temporal resolution thanks to instruments in solar observatories such as the Daniel K. Inouye Solar Telescope (DKIST; Rimmele 2019) and SUNRISE III (Barthol et al. 2011), and in the future with the European Solar Telescope (EST; Quintero Noda et al. 2022).

To date, very few polarimetric observations of the Mg I b2 line have been reported in the literature (e.g., Lites et al. 1988; Choudhary & Balasubramaniam 2007; Martínez González & Bellot Rubio 2009; Deng et al. 2010; Gǒsić et al. 2018; Morosin et al. 2020). The core of this spectral line forms in the low chromosphere under nonlocal thermodynamic equilibrium (NLTE) conditions (e.g., Quintero Noda et al. 2018), which may partly explain why it has not been extensively used for magnetic field inferences. Properly interpreting the chromospheric radiation requires solving the radiative transfer problem under a NLTE scheme, that is to say, taking the atomic states and the populations of the different energy levels into account, which leads to a nonlocal and nonlinear problem (e.g., de la Cruz Rodríguez & van Noort 2017). Currently, several inversion codes are capable of addressing the radiative transfer problem under NLTE assumptions (e.g., Socas-Navarro et al. 2015; Milić & van Noort 2018; de la Cruz Rodríguez 2019; Ruiz Cobo et al. 2022). However, these codes require substantial computational resources and time, particularly when inverting large datasets, such as time series or snapshots covering large fields of view (FOVs).

An alternative method for estimating the magnetic field configuration in those cases is the weak field approximation (WFA; Landi Degl’innocenti & Landi Degl’innocenti 1973). The WFA can be applied when the Zeeman splitting is significantly smaller than the Doppler width of the spectral line, a condition often satisfied by chromospheric lines since they tend to be broad. However, this approximation also assumes the absence of gradients in the velocity or magnetic field along the line of sight (LOS), which may not hold true everywhere in the chromosphere. Nevertheless, it has been proven that, if applied to narrow spectral windows within chromospheric lines, the WFA can provide insight into the stratification of the longitudinal magnetic field in the height formation range (e.g., Centeno 2018; Siu-Tapia et al. 2020). Similarly, line bisectors (LBs; Maltby 1964) can serve as a rapid alternative tool for inferring the height stratification of LOS plasma velocities in certain scenarios (e.g., Schlichenmaier et al. 2004; Bellot Rubio et al. 2006; Esteban Pozuelo et al. 2016; González Manrique et al. 2020).

In this work we evaluated the performance of different methods – namely, the WFA, LBs, LTE and NLTE inversions – for the inference of magnetic field and LOS velocity gradients in different magnetic structures, using full-Stokes observations of the Mg I b2 line at high spatial resolution. We confront the results obtained from the different methods and assess the validity of each of them in the different magnetic regimes. The inferred magnetic field gradients also allow us to study the low-lying magnetic canopies that expand above the magnetic structures.

This paper is organized as follows: In Sect. 2 we describe the observations and the post-processing of the data. In Sect. 3 we explain the various methods employed to infer the physical parameters from our spectropolarimetric observations and describe a series of NLTE inversion tests that helped us determine the configuration setup that best works with the characteristics of our observations. In Sect. 4 we present the main results and compare the different methods. Finally, in Sect. 5 we discuss our findings and provide our conclusions.

2. Observations

The observations were carried out on July 22, 2019, at the Swedish 1 meter Solar Telescope (SST; Scharmer et al. 2003) from 07:20:04 UT to 07:27:10 UT, using the CRisp Imaging Spectrometer (CRISP; Scharmer et al. 2008). We observed a bipolar region at an heliocentric angle of ∼26° (56″ S, 426″ W), over a FOV of nearly 55″ × 60″ with a plate scale of 0.057″ per pixel.

The dataset consists of four spectral scans of the photospheric and chromospheric lines indicated in Table 1, with a temporal cadence of ∼116 s between consecutive scans. In particular, the Mg I b2 line was sampled with a denser grid in the ±100 mÅ region around its core compared to its wings in order to extract more detailed information from the low chromosphere and temperature minimum region of the atmosphere. Also, while the Fe I and Mg I b2 lines were both observed in polarimetric mode, the Ca II and Hα lines were recorded in spectroscopic mode.

Table 1.

Description of the CRISP/SST observations.

The data were reduced using the SSTRED pipeline (Löfdahl et al. 2021) and the multi-object multi-frame blind deconvolution (MOMFBD; van Noort et al. 2005) technique for image restoration. We focus here on the analysis of the Fe I 6173 Å and the Mg I b2 5173 Å lines, which were observed in polarimetric mode. For these lines we corrected the residual crosstalk from I to Q, U, and V by using the Stokes parameters recorded in their corresponding continuum wavelength points, which are indicated in Table 1 (for simplicity, we refer to the first recorded wavelength of the Mg I b2 line as the continuum wavelength, although the point at Δλ = −700 mÅ actually lies in the far blue wing, still within the line).

The left column of Fig. 1 shows intensity maps at different wavelengths within the Mg I b2 line portraying the different layers in the atmosphere to which this line is sensitive. The top left panel shows the normalized continuum intensity and provides a typical photospheric view over the full FOV, which comprises a bipolar active region formed by a few small pores surrounded by bright structures or plage regions. The FOV also covers a portion of the quiet Sun granulation containing various isolated bright points. The middle left panel displays the map at Δλ = −200 mÅ and shows the reversed granulation pattern characteristic of the mid photosphere at heights ∼130–140 km (e.g., Rodríguez Hidalgo et al. 1999; Leenaarts & Wedemeyer-Böhm 2006; Cheung et al. 2007). Interestingly, the intensity map at this wavelength looks remarkably similar to that at −700 mÅ from the core of the Ca II 8542 Å line, which is shown in Fig. 2. Such a similarity indicates that the formation height range of these two lines overlap partially, and therefore complement each other, which is of great importance for studying the transition between the photosphere and the chromosphere. Rutten et al. (2011) also present a comparison of Mg I b2, Na I D1, and Ca II 8542 Å and show the spectral images from each line overlap at different wavelength positions (see also, e.g., Morosin et al. 2020). The bottom left panel of Fig. 1 corresponds to the line-core intensity map, which displays a more chromospheric configuration, with canopy-like structures that expand outward from the pores.

thumbnail Fig. 1.

Intensity and polarization maps normalized to the continuum intensity of the quiet Sun, IQS. They show a bipolar region observed with CRISP in the Mg I b2 5173 Å line at 07:20 UT. Left: Intensity maps at different wavelengths. Right: Maps of Q and U averaged over three wavelengths in the blue wing (Δλ = −100, −50, and 0 mÅ), and a Stokes V magnetogram at ±50 mÅ from the core. The black arrow points toward the disk center. The red contours in the right panels delineate the boundaries of the pores.

thumbnail Fig. 2.

Intensity map at −700 mÅ from the core of the Ca II 8542 Å line. The observation was taken at 07:20 UT.

The linear and circular polarization maps depicted in the right column of Fig. 1 show the largest Mg I b2 Stokes Q, U, and V signals within the active region (i.e., in the pores and their surrounding bright regions). However, the largest linear polarization signals are found in the periphery of the pores rather than in their central cores. In contrast, in the quiet Sun granulation both the linear and circular polarization signals are at the noise level of these CRISP observations, except in localized areas that can be identified as isolated bright points from the intensity maps.

To reduce the noise level of the observed polarization signals, we convolved the data with a 3 × 3 low-pass filter kernel so that each pixel in the resulting images has a value equal to the average value of its neighboring pixels in the original image. The noise level in the final images are σQ = 0.0017, σU = 0.0018, and σV = 0.0013 for the Mg I b2 line, and σQ = 0.0022, σU = 0.0019, and σV = 0.0021 for the Fe I line.

3. Methods

In this section we describe the various methods used to infer the physical parameters from our SST observations. First, we explain the traditional methods, namely, the inversions of the Fe I line under LTE conditions, the WFA applied to different spectral windows within the Mg I b2 line, and the estimation of LOS velocities from the Mg I b2 LBs and line-core Doppler shifts. Afterward, we describe different NLTE inversion tests carried out on the Mg I b2 line using the Fourier Transform Spectrometer (FTS; Neckel & Labs 1984) atlas profile to help determine the inversion strategy that best fits our SST observations. Finally, we describe the two-line NLTE inversions performed over the entire FOV.

3.1. LTE inversions of the Fe I 6173 Å line

We performed a simple one-component inversion of the Fe I 6173 Å line to get information of the photospheric magnetic field and LOS plasma velocities. To that end, we employed the SIR inversion code (Ruiz Cobo & del Toro Iniesta 1992), which solves the radiative transfer equation (RTE) under the assumption of LTE to infer the temperature (T), LOS velocity (vLOS), magnetic field strength (B), inclination (γ), and azimuth (ϕ) from the observations.

The inversions are run over five cycles considering a maximum of five nodes in temperature, and only one node in all the other physical parameters. The initial model atmosphere uses a FALC temperature stratification (Fontela et al. 1993) that extends from log(τ) = 1 to −4, and starts with constant values of vLOS (1 km s−1), B (100 G), γ (35°), and ϕ (35°).

3.2. Weak field approximation for the Mg I 5173 Å line

The WFA is valid when the thermal broadening in a given spectral line is much larger than its Zeeman splitting (e.g., Landi Degl’innocenti & Landolfi 2004). In that situation, one can apply a perturbative scheme to the RTE to simplify the problem, so the first-order perturbation yields the following solution for the longitudinal magnetic field:

B LOS = k I ( λ k ) λ k V ( λ k ) α k ( I ( λ k ) λ k ) 2 , $$ \begin{aligned} B_{\rm LOS}=\frac{\sum _k \frac{\partial I(\lambda _k)}{\partial \lambda _k} V(\lambda _k)}{\alpha \sum _k\left(\frac{\partial I(\lambda _k)}{\partial \lambda _k}\right)^2}, \end{aligned} $$(1)

where α = −4.67 × 10−13geffλ02, with geff being the effective Landé factor and λ0 the central wavelength of the line in Å. The index k spans over the different wavelength points sampled within the spectral line.

The second-order perturbation leads to expressions that relate the linear polarization with the first and second derivatives of the line intensity through the transverse component of the magnetic field, BT, which can be estimated as follows:

B T = ( k 4 3 L ( λ k ) C T | 1 λ k λ 0 | | I ( λ k ) λ k | k | 1 λ k λ 0 | 2 | I ( λ k ) λ k | 2 ) 1 / 2 for λ k λ 0 , $$ \begin{aligned} B_{T}=\left(\frac{\sum _k \frac{4}{3} \frac{L(\lambda _k)}{C_T} \left|\frac{1}{\lambda _k-\lambda _0}\right| \left|\frac{\partial I(\lambda _k)}{\partial \lambda _k}\right| }{\sum _k \left|\frac{1}{\lambda _k-\lambda _0}\right|^2 \left|\frac{\partial I(\lambda _k)}{\partial \lambda _k}\right|^2}\right)^{1/2} \text{ for} \lambda _k \ne \lambda _0, \end{aligned} $$(2)

with L ( λ k ) = Q 2 ( λ k ) + U 2 ( λ k ) $ L(\lambda_k)=\sqrt{Q^2(\lambda_k)+U^2(\lambda_k)} $ and CT = (4.6686 × 10−10λ02)2Geff is a constant that depends on the spectral line, where Geff is the Landé factor for the transverse magnetic field (Centeno 2018).

We used the WFA to estimate the height variation of the longitudinal field and of the magnetic field inclination by applying Eqs. (1) and (2) to three different spectral windows within the Mg I b2 line: ±500 mÅ, ±300 mÅ, and ±100 mÅ. The narrower the spectral window around the line center, the higher the atmospheric layer it probes.

3.3. Line bisector method

Since spectral lines get contributions from different layers of the solar atmosphere, large gradients with height in the LOS plasma velocities can produce strong asymmetries in the intensity profile. Those velocity gradients can be somehow quantified by measuring the so-called LB (e.g., Maltby 1964). The LB at a specific intensity level, Ibis, is given by the central wavelength position of the line, λbis, at such an intensity level.

We calculated the bisectors of the Mg I b2 line at eight different intensity levels by using a linear interpolation of the observed profiles. The intensity difference between the line core and the local continuum corresponds to 100%. The selected intensity levels were placed between 10% and 80% of the spectral line depth, in steps of 10%. For higher intensity levels the LBs become unreliable due to a larger noise sensitivity near the continuum level (Schlichenmaier et al. 2004). The LB Doppler shifts were then used to compute the vLOS associated with the different intensity levels.

The deepest bisector levels sample the plasma motions at the highest layers the line is sensitive to. However, exactly at the line core, the LB method cannot be applied. Instead, we apply a Bezier fit (e.g., Bézier 1968; Farin 2002) to the profile in the line-core wavelengths, so that the analytic minimum of the fitted function provides us with a good estimate of the line core wavelength position, λlc. We use these values as a proxy for the Doppler velocities induced by plasma motions along the LOS at different atmospheric heights as follows:

v LOS = c Δ λ D λ 0 , $$ \begin{aligned} v_{\rm LOS}=\frac{c \Delta \lambda _{D}}{\lambda _0}, \end{aligned} $$(3)

where c is the speed of light, λ0 = 5172.6843 Å, and λD stands for either the λbis or λlc. The reference wavelength for zero velocity is taken from the average intensity profile over entire dataset1.

3.4. NLTE inversions: Tests with FTS

We used the DeSIRe code (Departure coefficient Stokes Inversion based on Response functions; Ruiz Cobo et al. 2022) to perform NLTE inversions of both the Mg I 5173 Å line (treated in NLTE) and the Fe I 6173 Å line (treated in LTE) simultaneously. The DeSIRe code, which combines the RH forward synthesis code (Uitenbroek 2001) and the SIR inversion code (Ruiz Cobo & del Toro Iniesta 1992), enables the inversion of spectral lines formed under NLTE conditions, such as the Mg I b2 line. It is currently the fastest available NLTE inversion code.

This study marks the first instance of high-resolution spectropolarimetric observations of the Mg I b2 line being inverted using a NLTE code. To determine the best strategy for these inversions, we used the FTS atlas intensity profiles – which represent the quiet Sun (i.e., no magnetic fields) – to test different initial setups and study the effects of single-line and multiline inversions, the inclusion of blends and photospheric lines, the impact of spectral resolution, the performance of different atomic models, and the effects of opacity fudge (OF; Bruls et al. 1992).

All tests were initialized with a FALC model atmosphere (Fontela et al. 1993), using parameters of vLOS = 1 km s−1, B = 100 G, γ = 35°, and ϕ = 35°. The inversions were run over eight cycles, inverting only the temperature (from three to six nodes), the microturbulent velocity (from one to five nodes), and the LOS velocity (from one to five nodes). We first inverted the Mg I b2 intensity profile alone, using a spectral window covering ±3 Å around the line core position. This window includes three strong photospheric blends – two from Fe I in the blue wing and one from Ti I in the red wing (with atomic parameters listed in Table 2); smaller or unknown blends were masked. The wavelength step size was set to 10 mÅ.

Table 2.

Atomic parameters of the three strongest blends in the Mg I b2 5173 Å line.

To estimate the errors in the retrieved parameters, which DeSIRe does not provide, we iteratively introduced small random variations in the input model parameters and repeated each inversion 100 times. The standard deviation of the resulting atmospheres is taken as an estimate of the error for each physical parameter, and is shown as colored shaded regions in the figures.

Figure 3 presents some results from the different NLTE inversion tests specified in Table 3. The first row of Fig. 3 shows the best fits and the resulting atmospheric stratifications obtained using two different approaches: a progressive NLTE inversion and a full NLTE inversions (test 1 and test 2 in Table 3). In test 1, the first cycle assumes LTE, but in subsequent cycles, the NLTE threshold2 decreases progressively, with only the final cycle performed in full NLTE (red lines). In contrast, test 2 applies a complete NLTE scheme in all 8 cycles (green lines). Both approaches use a simplified atomic model with just 6 levels and 3 line transitions (Quintero Noda et al. 2018) and employ OF to more accurately model the UV radiative over-ionization in the Mg I b2 line forming region. Although the best fit from test 1 is better in the line core than test 2, the resulting temperature profile from test 1 is unrealistic, as it remains almost flat in the upper atmospheric layers and shows no clear chromospheric temperature rise. We consider that inversions from test 2 provide a more realistic atmospheric stratification, while still acceptably fitting most of the atlas intensity profile, but note that the two solutions are compatible within the uncertainties up to about log(τ)∼ − 4. Therefore, for subsequent inversions, we adopted a full NLTE scheme (NLTE threshold = 0) in all of the cycles.

Table 3.

Configuration of the different NLTE inversion tests.

thumbnail Fig. 3.

NLTE inversions of the FTS atlas profiles using different setups. The FTS profiles are shown with black dots and have a wavelength sampling of 10 mÅ for both the Mg I 5173 Å and Fe I 6173 Å lines, except for one of the inversions in the last row, as specified in the legends. The best-fit profiles and the resulting atmospheric stratification from the different inversions are presented with colored solid lines, and the shaded areas indicate the estimated uncertainties. Each row compares the following setups: (a) a progressive NLTE inversion (test 1, red lines) versus a full NLTE inversion (test 2, green); (b) the effects of including OF (test 3, red) versus not using OF (test 2, green); (c) an inversion using the 6-level Mg atomic model (test 2, red) versus an inversion using the 13-level Mg atomic model (test 4, green); (d) the inclusion of some Mg blends (test 4, red) versus their exclusion (test 5, green); (e) the inclusion of Mg blends (test 4, red) versus their exclusion but including the photospheric Fe 6173 Å line instead (test 6, green); and finally, the effect of wavelength sampling in a smaller spectral window of ±800 mÅ in Mg and ±560 mÅ in Fe, comparing a spectral grid of 10 mÅ in both lines (test 7, red) to a grid similar to our SST observations with a step of 50 mÅ for Mg and 28 mÅ for Fe (test 8, green). For the detailed configuration used in each of these inversion tests, refer to Table 3.

The second row of Fig. 3 shows the results of inversions performed with and without OF (tests 2 and 3 in Table 3, represented by green and red lines in the figure, respectively). Except for the line core, the fit is noticeably better at nearly all wavelengths when OF is included. This result reinforces the necessity of OF for properly inverting the Mg I b2 line, especially in the wings. The reason is that most magnesium in the solar photosphere and chromosphere is singly ionized, and the ionization of Mg is highly dependent on the UV radiation field. Unfortunately, modeling this field is challenging due to the large number of lines at UV wavelengths. Together, they significantly increase the opacity in the UV. This increased opacity brings the source function closer to the Planck function and reduces over-ionization, which is caused by a suprathermal UV/extreme-UV radiation field. The OF simulates the effect of these numerous lines by artificially enhancing the UV opacity through a multiplicative factor. Without OF, the ionizing radiation field becomes too strong, leading to an underestimation of the Mg I population and resulting in a line that is too narrow due to insufficient opacity (Uitenbroek, private communication, April 2022). Therefore, all subsequent inversions are performed with the application of OF.

The third row in Fig. 3 displays the results from inversions based on different atomic models. The first one uses the simplified 6-level atom (test 2, red lines), which was employed in all previous tests and is included as one of the default models for the Mg atom in the DeSIRe distribution. The second one uses a more complex atomic model with 13 levels and 44 transitions, presented and described in detail by Quintero Noda et al. (2018, test 4, green lines). Our results show that the 13-level atom provides a significantly better fit for both the line core and the wings compared to the 6-level atom. Additionally, the retrieved atmosphere is simpler and closely resembles the initial FALC stratifications. This model also appears to require fewer nodes in T, vLOS, and vmic to achieve a good fit to the intensity profile. It is not surprising that NLTE inversions perform better with a more complete atomic model, as Quintero Noda et al. (2018) demonstrated that the departure coefficients computed for the simplified 6-level atom result in a NLTE underpopulated ground and transition levels compared to the more complex 13-level atom. The departure coefficients presented in that work not only highlight the importance of NLTE effects for the levels involved in the Mg I b2 line transition but also demonstrate that the 13-level atom provides more accurate NLTE results. For these reasons, we performed the subsequent inversions using the 13-level atom despite the computation time being considerably longer – approximately seven times slower than with the 6-level atom. This increased computation time has a noticeable impact, especially when performing NLTE inversions for a large number of profiles and, in particular, when those inversions consider the full Stokes vector.

The forth row of Fig. 3 displays the results of inversions that include and exclude the photospheric blends in the wings of the Mg I b2 line (test 4 and test 5, red and green lines, respectively). In both cases, the quality of the fits is comparable, and the resulting atmospheric stratifications are remarkably similar. The main difference between the two is observed in the photospheric values of vmic, which are slightly larger when the blends are excluded from the inversions. Additionally, the associated uncertainties in vmic are also larger in this case. This discrepancy is likely due to the lack of photospheric information to better constrain the parameter values in the lower layers of the photosphere when the blends are not taken into account. This highlights the importance of including photospheric information during the inversions. However, the spectral range and sampling of the Mg I b2 line extracted from the FTS atlas seems to be appropriate to constrain the photospheric temperatures and velocities without the need to include any photospheric blend in the fit.

The fifth row of Fig. 3 compares the inversion results when the Mg I b2 line blends are included (test 4, red lines) with the case where these blends are excluded, but instead, the Fe I 6173 Å line is inverted simultaneously (test 6, green lines). Interestingly, the quality of the fits is comparable in both cases, and the retrieved atmospheric stratifications are largely consistent with each other and with the FALC model. Some discrepancies arise in the uppermost layers around log(τ) = − 6, but neither of these lines is sensitive to those optical depths. Therefore, both approaches – either including photospheric blends or incorporating a photospheric line like Fe I 6173 Å – provide useful information from the lower layers of the atmosphere, helping constrain the values of the physical parameters at those heights. In real observations, blends are not always present, so caution is needed when interpreting the inversion results for vmic and possibly the temperature in the lower layers unless a photospheric line is included in the inversion process.

Finally, the last row of Fig. 3 shows the results of the two-line inversion for which we used a reduced spectral window for both lines to make them resemble our SST observations (i.e., ±800 mÅ around the Mg I b2 line core and ±560 mÅ around the Fe I line core). The first test used a spectral sampling of 10 mÅ (test 7, red lines), and the second one employed the exact same sampling as in our observations, as indicated in Table 1 (test 8, green lines). A better quality fit is obtained with the denser spectral sampling, particularly in the Mg I b2 line core, emphasizing the importance of having sufficient spectral resolution at these wavelengths. Nevertheless, the retrieved atmospheric stratifications are remarkably similar below log(τ)∼ − 5 in both cases and remain consistent with the FALC model.

Our tests confirm that NLTE inversions perform better when incorporating as much spectral and atomic information as possible. However, the computational time is significantly reduced when simplified atomic models are used and fewer spectral lines and/or wavelength points are considered. This reduction in computation time becomes especially important when performing NLTE inversions on full Stokes spectra over a large FOV or in long time series. Therefore, the best inversion strategy depends on the specific case and the main objectives of the study.

3.5. NLTE inversions: Large FOV

As mentioned before, conducting NLTE inversions is computationally expensive, especially when dealing with full Stokes spectropolarimetric observations that cover a large FOV. Therefore, we performed a simple inversion for our two-line dataset using only five cycles. The inversion employed a one-component FALC initial model and assigned different weights to the Stokes parameters based on their signal-to-noise ratio: weights of 10 for Stokes I and V, and weights of 1 for Stokes Q and U.

Considering the results from Sect. 3.4, we used the 13-level atomic model and applied OF, inverting all cycles with a NLTE threshold of 0 to treat the Mg atom fully in NLTE (the Fe atom was treated in LTE). The temperature was allowed to vary over a maximum of six nodes, the microturbulence over five nodes, and we used up to three nodes for the LOS velocity and the magnetic field parameters.

4. Results

4.1. NLTE inversions of Mg I b2 5173 Å and Fe I 6173 Å

Figure 4 presents the results of the simultaneous NLTE inversion of the Mg I 5173 and Fe I 6173 lines across the entire FOV, at five different optical depths, for the temperature, LOS velocity, unsigned longitudinal magnetic field, and magnetic field inclination. The typical granulation pattern of the photosphere is well retrieved as displayed by the temperature and LOS velocity maps of the surface layers, at log(τ) = 0. Higher up, at log(τ) = − 1, there is a mean temperature decrease of nearly 1300 K and the inverse granulation pattern is observed, with granules appearing about 300 K cooler than the inter-granules. The plage around pores is nearly 700 K hotter than the surroundings at this height. The mean temperature continues to decrease with height, while the temperature contrast between the different structures becomes more pronounced. In the velocity maps, the granular flows weaken progressively at higher layers. However, at log(τ) = − 4, stronger flows forming fibril-like structures between the opposite-polarity pores are inferred. The maps of the magnetic field parameters, both |BLOS| and γ, show that the areas covered by the magnetic structures appear more compacted in the photosphere and gradually become broader with height. This behavior resembles the chromospheric canopy of larger magnetic structures, such as sunspots (e.g., Joshi et al. 2017), but here it occurs at lower heights, meaning that the field rapidly bends over and becomes more horizontal in the mid-to-high photosphere. The strongest longitudinal fields are concentrated within the core of the pores, where they reach strengths on the order of 2 kG in the photosphere, and gradually become weaker with height. Strong fields are also observed in the plage areas as well as in some isolated bright points, and can reach strengths on the order of 1 kG. The results from our inversions are qualitatively satisfactory and provide, on large scales, a reliable stratification of the magnetic and thermodynamic parameters around the temperature minimum region.

thumbnail Fig. 4.

Results of the two-line NLTE inversion at five selected optical depths. From top to bottom, the maps correspond to log(τ) = 0, −1, −2, −3, and −4. From left to right: Temperature variation [K], LOS velocity [km s−1], unsigned longitudinal magnetic field [G], and magnetic field inclination [deg]. The mean temperature values of the FOV, Tmean, are indicated in the bottom left corners of the first-column panels for the corresponding optical depths.

Figure 5 shows the map of the merit function, χ2, for the best fits of the inversions, computed as follows:

χ 2 1 ν k = 1 4 i = 1 M [ I k obs ( λ i ) I k syn ] 2 σ k , i 2 , $$ \begin{aligned} \chi ^2 \equiv \frac{1}{\nu }\sum _{k = 1}^{4}\sum _{i = 1}^{M}{\frac{\left[I_{k}^\mathrm{obs}(\lambda _i)-I_{k}^\mathrm{syn}\right]^{2}}{\sigma _{k,i}^2}} ,\end{aligned} $$(4)

thumbnail Fig. 5.

Map of the merit function, χ2, resulting from the two-lines NLTE inversions. The red pixels in the map indicate those places where the inversion did not converge to a good solution (∼0.06% of the FOV).

which is the sum of the squared differences between observed and synthetic profiles, Iobs and Isyn, respectively, weighted by the noise of the observations, σ – which is Stokes- and line-dependent – and the number of degrees of freedom ν. In Eq. (4), the index k = 1, …, 4 samples the four Stokes profiles, while the index i = 1, …, M samples the wavelengths at which the line has been measured. The map indicates generally good quality fits in most of the FOV, with an average χ2 < 2.5 in the quiet Sun. However, in approximately 0.06% of the map, the code could not converge to a good solution and no synthetic Stokes profiles were generated (red pixels in Fig. 5). In addition, the inversion yields poorly fitted profiles (χ2 > 10) in different places but predominantly in the center of the pores. This mostly happens when the observed profiles display uncommon features, such as very large asymmetries, very shallow profiles, emission in the wings, extra lobes in Stokes V, among others, likely due to the relative simplicity of our inversion configuration. Nonetheless, the quality of the fits is good in most of the FOV. In Fig. 6 we present some examples of typical NLTE fits to sample Stokes profiles emerging from the quiet Sun, a bright structure, a pore’s edge, and the magnetic core of a pore. The figure also displays the fits obtained from the LTE inversions (for the Fe I line only) and from the WFA using the spectral window of ±500 mÅ in the Mg I b2 line (for Stokes V only). All three methods are able to closely reproduce the observed profiles and provide comparable fits. Nonetheless, the NLTE inversions generally provide better fits than the WFA for the Mg Stokes V profile, particularly in the wing wavelengths.

thumbnail Fig. 6.

Examples of Stokes profiles from different regions in the FOV (black markers) and best fits obtained with the different methods: two-line NLTE inversions (red lines), WFA using the spectral region ±500 mÅ around the Mg line core (blue), and LTE inversion of the Fe line (green). Panels display, from top to bottom, the Stokes I, Q, U, and V profiles normalized to the average continuum intensity in the quiet Sun, IQS. From left to right, each set of Stokes profiles corresponds to a pixel in the quiet Sun, in a bright magnetic structure, in a pore, and in a pore’s center. The resulting atmospheric stratifications are shown in Fig. 7.

We recall that we kept the NLTE inversions as simple as possible in order to speed up the computations, so we used a few cycles, a small number of nodes in the physical parameters, a single-component atmospheric model, and the same initial setup to fit an enormous variety of shapes and different spectropolarimetric features in two spectral lines simultaneously. Alternative ways to perform NLTE inversions to improve the quality of the fits is out of the scope of this paper but will be addressed in detail in an upcoming second paper.

The atmospheric stratifications resulting from these fits are shown in Fig. 7. In general, the temperature variation with height in the LTE inversions aligns well with the NLTE results in the photospheric layers, but there are significant discrepancies above log(τ)∼ − 2, especially in the pores. However, the LOS velocity, magnetic field strength, and magnetic field inclination show good agreement between the LTE and NLTE inversions in the lower layers of the atmosphere. Additionally, the magnetic field strength derived using the WFA in the Mg ±500 mÅ spectral window matches that retrieved from the NLTE inversions in the higher layers, so that both the WFA and the LTE inversions qualitatively align with the estimated magnetic field gradients obtained from the NLTE inversions.

thumbnail Fig. 7.

Atmospheric stratifications obtained with the different methods for the Stokes profiles shown in Fig. 6: the initial FALC model (dashed black lines) and the results from the two-line NLTE inversions (red lines), from the WFA using the spectral region ±500 mÅ around the Mg line core (blue), and from the LTE inversion of the Fe line (green). Panels display, from top to bottom, the temperature in K, the LOS velocity in km s−1, the magnetic field strength in G, and the magnetic field inclination in degree.

Figure 8 shows the NLTE response functions (RFs) computed for the Stokes profiles and the atmospheric models presented in Figs. 6 and 7, respectively. The figure shows that the sensitivity of the lines is different for each set of profiles, both in the core and the wings of the Mg I and Fe I lines. The height of maximum response also changes with the physical parameter. As a result, it is not feasible to select a single representative optical depth based on RFs in a specific spectral region that works for all solar structures and for all the physical parameters. However, a representative optical depth is necessary for a quantitative comparison between methods. Therefore, in the following subsections, we compare the results from the different methods at the heights where the cross-correlations between them are highest over the full FOV.

thumbnail Fig. 8.

NLTE RFs computed for the different sets of Stokes profiles and resulting atmospheres shown in Figs. 6 and 7, respectively. From top to bottom, the maps show the RF of Stokes I to changes in temperature, of Stokes I to changes in LOS velocity, and of Stokes V to changes in the magnetic field strength. All maps are normalized to their maximum value.

4.2. Magnetic field stratification: LTE and WFA versus NLTE

Figures 9 and 10 compare the results for the unsigned LOS magnetic field and magnetic field inclination, respectively, obtained from the different methods. In the first column of each figure, we present the results from the traditional methods: LTE inversion of the Fe I 6173 Å line and WFA applied to the Mg I 5173 Å line using progressively smaller spectral windows around the line core, roughly ordered by increasing formation height. The second column displays the results from the NLTE inversions at the optical depths that are best comparable with the results shown in the first column, and correspond to those displaying the largest correlation coefficients, cc. These optical depths are log(τ) = − 1.1, −3.1, −3.6, and −4.3 for the |BLOS| maps, and log(τ) = − 0.8, −3.2, −3.7, and −4.4 for the γ maps.

thumbnail Fig. 9.

Height variation of the longitudinal magnetic field, comparing results from the different methods. In the left column we show the traditional methods (from top to bottom): LTE inversion of the Fe I 6173 Å line, and WFA applied to the Mg I 5173 Å line within the spectral windows of ±500 mÅ, ±300 mÅ, and ±100 mÅ. In the center we show NLTE inversion at different optical depths, selected based on the maximum cross-correlation with the corresponding left maps, and in the right scatter plots comparing the results from the different methods, excluding |BLOS| values obtained from Stokes V profiles with signals below the 5σ level. Black contours on the left and central maps show the position of the pores. The dashed white lines in the scatter plots represent identity lines, and the red markers indicate the average values of the distribution in x-bins of 100 G. The red vertical lines depict the standard deviation along the y-axis for each 100 G bin on the x-axis. Two correlation coefficients are provided in each scatter plot: cc1 for the entire distribution and cc2 for |BLOS|< 1000 G.

thumbnail Fig. 10.

Height variation of the magnetic field inclination, comparing results from the LTE and WFA methods with those from the NLTE inversions. The format is similar to that of Fig. 9.

The |BLOS| maps in Fig. 9 show good qualitative agreement between methods, with the magnetic structures appearing remarkably similar in the first and second column maps. Both traditional and NLTE approaches consistently reveal the expansion and opening of the magnetic field with height around the magnetic structures, as well as the weakening of the magnetic field away from the core of pores, plage, and bright magnetic points. We refer to the regions where |BLOS|> 200 G as “canopy areas”. The growth with height of the canopy areas with respect to the LTE maps is of 147%, 182%, and 189% in the maps from the WFA in the ±500 mÅ, ±300 mÅ, and ±100 mÅ spectral windows, respectively; while it is of 143%, 180%, and 187% in the NLTE maps at log(τ) = − 3.1, −3.6, and −4.3, respectively, with respect to log(τ) = − 1.1.

The scatter plots in the third column provide a quantitative comparison between methods. In the scatter plots of Figs. 9 and 10, we compare only the |BLOS| and γ values, respectively, obtained in pixels where the Stokes V profiles show signals above five times the noise level. The correlation coefficients for |BLOS| indicate good agreement at all four heights, particularly for weaker magnetic fields, although this correlation slightly decreases with increasing height – likely due to the small number of wavelengths sampled within the line core, which affects the performance of both methods. Additionally, the scatter plots show that the one-to-one correspondence between methods decreases notably for longitudinal fields stronger than 1000 G. This trend is evident in the mean values of the 100 G bins in Fig. 9, which progressively deviate from the identity line at stronger fields. Likewise, the standard deviation, std, of the values grows with field strength, reflecting increasing differences between methods at higher |BLOS| values.

On the one hand, this discrepancy manifests as the LTE inversions yielding stronger |BLOS| values than those from the NLTE inversions at log(τ) = − 1.1. Specifically, for |BLOS|≈1000 G, the average difference between methods is on the order of 70 G, with a std of nearly 110 G. This discrepancy peaks at |BLOS|≈1600 G, where the average difference reaches nearly 180 G, and the std approaches 200 G. These differences arise mainly because the LTE inversions assume a constant magnetic field, while the NLTE inversions account for magnetic field gradients with height, leading to greater discrepancies in regions with strong gradients.

On the other hand, the WFA applied to the three different spectral windows in the Mg line generally infers weaker |BLOS| values in strong-field regions compared to the NLTE inversions at log(τ) = − 3.1, −3.6, and −4.3, respectively. The WFA appears to saturate around an average |BLOS| of 1100 G for the ±500 and ±300 mÅ spectral windows, and around 1000 G for the ±100 mÅ spectral window. These discrepancies are partly due to the limitations of the WFA, which is only valid for weak magnetic fields and assumes the absence of gradients along the LOS in the magnetic field and in the plasma velocities – conditions that are likely not met in the bright magnetic regions and the pores, as suggested by the NLTE inversion results. Another contributing factor to this discrepancy could be the poorer quality of the NLTE fits in the core of pores, as shown by the χ2 map in Fig. 5. At such places, the intensity profiles appear very shallow or even show strong apparent wing emissions – characteristics that are not properly reproduced due to the relative simplicity of the NLTE inversions. Thus, it is possible that |BLOS| is overestimated by the NLTE inversion in those cases.

Except for the core of the pores, the bulk of the distribution from the traditional methods show both qualitative and quantitative consistency with the NLTE inversions (cc2 values in Fig. 9), confirming the validity of the WFA as a viable alternative for the rapid inference of the height stratification of the longitudinal magnetic field within the Mg line formation region, up to strengths on the order of 1000–1100 G, depending on the spectral window around the line core wavelength.

The comparison of the magnetic field inclination in Fig. 10 also shows qualitative similarities between methods, particularly in the broadening of the magnetic regions with height, and shows consistency regarding the main polarity of the different magnetic structures across the FOV. However, notable discrepancies emerge mainly in the quiet Sun areas, where the NLTE inversions yield a broader range of inclinations, giving the maps a noisier appearance. In contrast, the LTE inversion and the WFA predominantly infer horizontal fields in these regions. Assessing the reliability of each method in this context is challenging, as the weak linear polarization signals from both lines in the quiet Sun are essentially at the noise level. Under these conditions, all the methods are expected to result in nearly horizontal fields that are not real but a consequence of the noise (e.g., Lites et al. 2017). This limitation substantially affects the performance of all the WFA, LTE, and NLTE inversions to accurately retrieve the transverse component of the magnetic field in the quiet Sun. Nonetheless, the scatter plots in Fig. 10 show that the correlation between methods is strong for the magnetic structures, as indicated by the cc values, provided their linear polarization signals are larger than the noise level.

4.3. LOS velocity: LTE and LB versus NLTE

Figure 11 displays LOS velocity maps derived from different methods. In the left column, we present traditional inferences of vLOS for different heights in the atmosphere: LTE inversions of the Fe line, LB at 50% of the Mg line, LB at 30% of the Mg line, and the Doppler velocity derived from the Mg line core. As with the magnetic field comparison, these velocity maps are compared with those resulting from the two-line NLTE inversions at the optical depths where they are better correlated, as shown in the second column of the figure. The selected optical depths are log(τ) = − 1.1, −2.4, −3.5, and −4.2, respectively.

thumbnail Fig. 11.

Height variation of the LOS velocity, comparing results from the different methods. On the left we show traditional inferences (from top to bottom): LTE inversions of the Fe I 6173 Å line, bisector velocity of Mg at 50%, bisector velocity of Mg at 30%, and Doppler velocity of the Mg line core. In the center we show NLTE inversion results at different optical depths, selected based on the maximum cross-correlation with the traditional inferences, and on the right scatter plots comparing the results from the different methods. The format is similar to that of Fig. 9.

The scatter plots in the third column show a strong correlation in the photosphere, between the LTE inversion of the Fe I line and the NLTE inversions at log(τ) = − 1.1, as well as in the chromosphere, between the Mg I line core Doppler velocities and the NLTE inversion at log(τ) = − 4.2. However, the correlations between the NLTE velocities and bisector velocities, while qualitatively consistent, are less quantitatively robust.

Although LBs can generally be associated with the LOS velocities at different heights – with intensity levels closer to the continuum relating to motions in photospheric layers and levels nearer to the line core sensing LOS velocities at higher layers – when applied to the spectral lines typically used for photospheric diagnostics, in this case the bisector method is not sufficiently good for the Mg I b2 line. This limitation likely arises because the Mg I b2 line is primarily chromospheric in nature and exhibits significant opacity effects. High chromospheric dynamics (e.g., umbral flashes, Ellerman bombs) often cause asymmetric line profile emissions. Additionally, the presence of various photospheric blends within the Mg I b2 line may introduce further distortions in the line’s profile. These combined effects alter the line shape and disrupt any linear relationship between the LBs and the LOS velocities.

5. Discussion and conclusions

Testing the validity of methods that are simpler and faster than NLTE inversions to extract physical information about the solar atmosphere from the Mg I b2 line at 5173 Å and other chromospheric spectral lines has become increasingly relevant with the advent of large datasets from new-generation solar observatories like SUNRISE III (Korpi-Lagg et al. 2025), DKIST (e.g., Rimmele 2019), EST (Quintero Noda et al. 2022), and others. Some of these facilities are now providing high-resolution solar observations in the Mg I b2 line, which probes the temperature minimum region – a region of the solar atmosphere whose magnetism is still relatively unexplored due to the limited number of spectral lines with sufficient magnetic sensitivity that form at those heights (e.g., Quintero Noda et al. 2018).

In these instances, a fast yet reliable estimation of the magnetic field and the LOS velocity height stratification can be valuable for quick inspection purposes. In the literature, different methods have been tested on the Mg I b2 line to obtain a fast computation of the magnetic field using synthetic data (e.g., Morosin et al. 2020; Dorantes-Monteagudo et al. 2022; Vukadinovic et al. 2022). In this work we evaluated the capabilities of traditional methods to infer the height stratification of the magnetic field and of the LOS velocities from the Mg I b2 line, using high-resolution spectropolarimetric observations in an extended FOV. Specifically, we inferred the height variation of the longitudinal component of the magnetic field and of the magnetic field inclination by combining an LTE inversion of the Fe I line at 6173 Å with the WFA in three spectral windows within the Mg I b2 line. Likewise, the stratification with height of the LOS velocities were computed by combining the LTE inversion of the Fe I line with bisector velocities at different intensity levels of the Mg I b2 line and with Doppler velocity maps of the Mg line core.

In addition, we conducted a full NLTE inversion of the Mg I b2 line at 5173 Å simultaneously with the photospheric Fe I line at 6173 Å, using the DeSIRe inversion code (Ruiz Cobo et al. 2022). This is the first time that high-resolution spectropolarimetric observations of the Mg I b2 line have been inverted under a NLTE scheme in a large FOV using the full Stokes vector. Despite the relative simplicity of the inversions and the long computation times that were required, the generally good quality of the fits lends confidence to the resulting stratifications, establishing a reliable basis for comparison with traditional inference methods.

We find that the WFA applied to progressively narrower spectral windows within the Mg I b2 line provides not only a consistent overview of the magnetic field variation with height in the low chromosphere, but also reliable quantitative information about the chromospheric longitudinal field component at weak and moderate strengths. The LTE inversions of the Fe I 6173 Å line and the WFA results for the Mg I b2 5173 Å line align well with the NLTE inversions in capturing the expansion of the canopy areas with height, specifically at log(τ) = − 1.1, −3.1, −3.6, and −4.3. However, attention is required for strong magnetic field concentrations, such as pores and umbral regions, since in those regions the WFA does not seem to be valid, resulting in saturation of the field strength values, even if magnetic fields are typically weaker in the chromosphere than in the photosphere (e.g., Joshi et al. 2016). In addition, chromospheric spectral lines typically have a larger Doppler width than photospheric lines, a characteristic that makes the WFA generally valid for chromospheric lines in the Zeeman regime (e.g., de la Cruz Rodríguez et al. 2013; Centeno 2018; Morosin et al. 2020).

Recently, Vukadinovic et al. (2022) investigated the applicability of the WFA using synthetic spectra of the Mg I b2 line and found that this method can reliably retrieve longitudinal fields up to 1400 G with an error lower than 5% (about 70 G) in atmospheres with no velocity gradients. In our analysis, where velocity gradients are present, we find that the |BLOS| values estimated from the WFA in the Mg I b2 spectral windows that probe layers in the upper photosphere and lower chromosphere show discrepancies of a few hundred gauss when compared with the NLTE results in the core of the pores, being, on average, about 300 G weaker when NLTE inversions yield field strengths of 1400 G. These discrepancies suggest larger errors in the WFA results compared to those estimated by Vukadinovic et al. (2022). Nonetheless, such discrepancies could also partly originate from the NLTE inversions, which did not achieve particularly good fits in the pore regions, especially in their magnetic cores.

The LTE inversions and the WFA were also used to infer the magnetic field inclination at different heights in the atmosphere. The results are consistent and show strong correlations with the NLTE inversions regarding the main polarity of the magnetic structures and the expansion of the magnetic canopies around them – specifically at log(τ) = − 0.8, −3.2, −3.7, and −4.4. However, we find weaker correlations in the quiet Sun regions, where the traditional methods predominantly infer horizontal fields, unlike the NLTE inversions, which retrieve a mixture of polarities in these areas. Nevertheless, without sufficiently strong linear polarization signals above the noise level, the WFA, LTE, and NLTE inversions cannot properly estimate the transverse magnetic field, nor the magnetic field inclination. Previous studies have suggested that the WFA may not be suitable for estimating the transverse magnetic field in the Mg I b2 line, given that this is a strong absorption line, whilst the nonlinear relationship between linear polarization and the transverse field component makes the WFA of the transverse field more appropriate for weak absorption lines (Bai et al. 2013). Nonetheless, our results indicate that in magnetic regions where the linear polarization signals exceed the noise level, the WFA can provide both qualitatively and quantitatively reliable estimates of the magnetic field inclination from the Mg I b2 line.

We also tested the LB method (Maltby 1964) and line-core Doppler shifts in the Mg line to estimate the variation with height of the LOS velocities. Our findings indicate that the LBs might not accurately retrieve LOS velocities in the Mg I b2 line. This may stem from significant opacity effects and/or line distortions that could be produced by a large variety of phenomena other than plasma motions, such as wave propagation, shocks, flashes, heating, among others which are common in the highly dynamic chromospheric layers and might affect the shape of the intensity profile (e.g., Uitenbroek 2006). Furthermore, photospheric blends present in the Mg I b2 line can frequently distort the profile further, complicating a straightforward velocity interpretation. As a result, the LB method appears unreliable for rapid and precise LOS velocity estimates from the Mg I b2 line. However, information derived from the Fe I line and the Doppler shifts of the Mg I b2 line core demonstrates good agreement with NLTE inversions at log(τ) = − 1.1 and −4.2, respectively. These methods are therefore still viable alternatives for inferring LOS velocity gradients.

Finally, our inversion tests using the FTS atlas profiles have shown that NLTE inversions yield better fits and more realistic atmospheres when more detailed information is included. Specifically, for the Mg I b2 line, the inversions perform optimally when a more complex atomic model is used along with sufficient photospheric spectral information (from spectral lines or blends), an OF correction, larger spectral windows, and adequate wavelength sampling. All these elements must be carefully optimized based on the specific science goals and the computational resources available.


1

To our knowledge, there are no studies in the literature on how the Mg I b2 line is impacted by solar convective blueshift (e.g., Löhner-Böttcher et al. 2019) in its core wavelengths. However, this effect is expected to be small as the core of this line forms in the low chromosphere, where convective motions are significantly weaker than in the photosphere. The FTS atlas profile of the Mg I b2 line shows a redshift in the line core position relative to its laboratory rest wavelength, corresponding to ∼446 m s−1. Theoretical predictions and observations indicate that the solar gravitational redshift, as observed from Earth, is approximately 636 m s−1 (e.g., LoPresto et al. 1991; González Hernández et al. 2020). Thus, the convective blueshift in the Mg I b2 line is likely less than 200 m s−1. In this study, we neglected the effects of convective blueshift and use the average position of the Mg I b2 line core as the zero-velocity reference for estimating LOS velocities from this spectral line.

2

DeSIRe allows the user to specify a NLTE threshold value, which can range from 0 to 10. This value indicates the minimal percentage of the temperature perturbations used to reevaluate the departure coefficients and synthesize the line with RH between cycles. If the NLTE threshold is set to 10, the code performs the inversion in LTE. Conversely, a NLTE threshold of 0 means the code performs a full NLTE inversion (Ruiz Cobo et al. 2022).

Acknowledgments

We thank Basilio Ruiz Cobo, Carlos Quintero Noda, Han Uitenbroek, Ricardo Gafeira, and Jaime de la Cruz Rodríguez, for valuable discussions and useful assistance on the NLTE inversions. A.S.T. has been funded by Junta de Andalucía through grant POSTDOC-21-00832. This work was supported by the Spanish Ministry of Science and Innovation through project PID2021-125325OB-C51. The authors acknowledge financial support from the Severo Ochoa grant CEX2021-001131-S funded by MICIU/AEI/10.13039/501100011033. The Swedish 1 m Solar Telescope is operated on the island of La Palma by the Institute for Solar Physics of Stockholm University in the Spanish Observatory del Roque de los Muchachos of the Instituto de Astrofísica de Canarias. The Institute for Solar Physics is supported by a grant for research infrastructures of national importance from the Swedish Research Council (registration number 2017-00625).

References

  1. Bai, X. Y., Deng, Y. Y., & Su, J. T. 2013, Sol. Phys., 282, 405 [CrossRef] [Google Scholar]
  2. Barthol, P., Gandorfer, A., Solanki, S. K., et al. 2011, Sol. Phys., 268, 1 [Google Scholar]
  3. Bellot Rubio, L. R., Schlichenmaier, R., & Tritschler, A. 2006, A&A, 453, 1117 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  4. Bézier, P. 1968, Mathematical and Practical Possibilities of UNISURF, renault, Paris [Google Scholar]
  5. Bruls, J. H. M. J., Rutten, R. J., & Shchukina, N. G. 1992, A&A, 265, 237 [NASA ADS] [Google Scholar]
  6. Centeno, R. 2018, ApJ, 866, 89 [Google Scholar]
  7. Cheung, M. C., Schüssler, M., & Moreno-Insertis, F. 2007, A&A, 461, 1163 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  8. Choudhary, D. P., & Balasubramaniam, K. S. 2007, ApJ, 664, 1228 [Google Scholar]
  9. de la Cruz Rodríguez, J. 2019, A&A, 631, A153 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  10. de la Cruz Rodríguez, J., & van Noort, M. 2017, Space Sci. Rev., 210, 109 [Google Scholar]
  11. de la Cruz Rodríguez, J., Rouppe van der Voort, L., Socas-Navarro, H., & van Noort, M. 2013, A&A, 556, A115 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  12. Deng, N., Chaoudhary, D. P., & Balasubramaniam, K. S. 2010, ApJ, 719, 358 [Google Scholar]
  13. Dorantes-Monteagudo, A. J., Siu-Tapia, A. L., Quintero-Noda, C., & Orozco Suárez, D. 2022, A&A, 659, A156 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  14. Esteban Pozuelo, S., Bellot Rubio, L. R., & de la Cruz Rodríguez, J. 2016, ApJ, 832, 170 [CrossRef] [Google Scholar]
  15. Esteban Pozuelo, S., de la Cruz Rodríguez, J., Drews, A., et al. 2019, ApJ, 870, 88 [Google Scholar]
  16. Farin, G. E. 2002, Curves and Surfaces for Computer Aided Geometric Design: A Practical Guide, 5th edn. (San Francisco, CA: Morgan Kaufmann) [Google Scholar]
  17. Fontela, J. M., Avrett, E. H., & Loeser, R. 1993, ApJ, 406, 319 [NASA ADS] [CrossRef] [Google Scholar]
  18. Gǒsić, M., de la Cruz Rodríguez, J., De Pontieu, B., et al. 2018, ApJ, 857, 48 [CrossRef] [Google Scholar]
  19. González Hernández, J. I., Rebolo, R., Pasquini, L., et al. 2020, A&A, 643, A146 [EDP Sciences] [Google Scholar]
  20. González Manrique, S. J., Quintero Noda, C., Kuckein, C., Ruiz Cobo, B., & Carlsson, M. 2020, A&A, 634, A19 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  21. Joshi, J., Lagg, A., Solanki, S. K., et al. 2016, A&A, 596, A8 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  22. Joshi, J., Lagg, A., Hirzberger, J., & Solanki, S. K. 2017, A&A, 604, A98 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  23. Korpi-Lagg, A., Gandorfer, A., Solanki, S. K., et al. 2025, ArXiv e-prints [arXiv:2502.06483] [Google Scholar]
  24. Kurucz, R. L., & Bell, B. 1995, Atomic Line List (Cambridge, MA: Smithsonian Astrophysical Observatory) [Google Scholar]
  25. Landi Degl’innocenti, E., & Landi Degl’innocenti, M. 1973, Sol. Phys., 31, 299 [CrossRef] [Google Scholar]
  26. Landi Degl’innocenti, E., & Landolfi, M. 2004, Polarization in Spectral Lines (United States of America: Kluwer Academic Publishers) [CrossRef] [Google Scholar]
  27. Leenaarts, J., & Wedemeyer-Böhm, S. 2006, A&A, 460, 301 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  28. Lites, B. W., Skumanich, A., Rees, D. E., & Murphy, G. A. 1988, ApJ, 330, 493 [CrossRef] [Google Scholar]
  29. Lites, B. W., Rempel, M., Borrero, J. M., & Danilovic, S. 2017, ApJ, 835, 14 [Google Scholar]
  30. Löfdahl, M. G., Hillberg, T., de la Cruz Rodríguez, J., et al. 2021, A&AS, 653, A68 [Google Scholar]
  31. Löhner-Böttcher, J., Schmidt, W., Schlichenmaier, R., Steinmetz, T., & Holzwarth, R. 2019, A&A, 624, A57 [Google Scholar]
  32. LoPresto, J. C., Schrader, C., & Pierce, A. K. 1991, ApJ, 376, 757 [Google Scholar]
  33. Maltby, P. 1964, Astrophys. Norv., 8, 205 [NASA ADS] [Google Scholar]
  34. Martínez González, M. J., & Bellot Rubio, L. R. 2009, ApJ, 700, 1391 [CrossRef] [Google Scholar]
  35. Milić, I., & van Noort, M. 2018, MNRAS, 419, 153 [Google Scholar]
  36. Morosin, R., de la Cruz Rodríguez, J., Vissers, G. J. M., & Yadav, R. 2020, A&A, 642, A210 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  37. National Institute of Standards and Technology (NIST). 2024, Atomic Spectra Database Lines Form, accessed on 2024-11-28. Available at https://physics.nist.gov/PhysRefData/ASD/lines_form.html [Google Scholar]
  38. Neckel, H., & Labs, D. 1984, Sol. Phys., 90, 205 [Google Scholar]
  39. Plaskett, H. H. 1931, MNRAS, 91, 870 [Google Scholar]
  40. Quintero Noda, C., Uitenbroek, H., Carlsson, M., et al. 2018, MNRAS, 481, 5675 [CrossRef] [Google Scholar]
  41. Quintero Noda, C., Iijima, H., Katsukawa, Y., et al. 2019, MNRAS, 486, 4203 [NASA ADS] [CrossRef] [Google Scholar]
  42. Quintero Noda, C., Schlichenmaier, R., Bellot Rubio, L. R., et al. 2022, A&A, 666, A21 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  43. Rimmele, T. 2019, BAAS, 51, 77 [Google Scholar]
  44. Rodríguez Hidalgo, I., Ruiz Cobo, B., Collados, M., & del Toro Iniesta, J. C. 1999, in ASPC: Theory and Tests of Convection in Stellar Structure, eds. A. Giménez, E. F. Guinan, & B. Montesinos, 173, 313 [Google Scholar]
  45. Ruiz Cobo, B., & del Toro Iniesta, J. C. 1992, ApJ, 398, 375 [Google Scholar]
  46. Ruiz Cobo, B., Quintero Noda, C., Gafeira, R., et al. 2022, A&A, 660, A37 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  47. Rutten, R. J., Leenaarts, J., Rouppe van der Voort, L. H. M., et al. 2011, A&A, 531, A17 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  48. Scharmer, G. B., Bjelksjo, K., Korhonen, T. K., Lindberg, B., & Petterson, B. 2003, SPIE Proc., 4853, 341 [Google Scholar]
  49. Scharmer, G. B., Nordlund, A., & Heinemann, T. 2008, ApJ, 677, L149 [NASA ADS] [CrossRef] [Google Scholar]
  50. Schlichenmaier, R., Bellot Rubio, L. R., & Tritschler, A. 2004, A&A, 415, 731 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  51. Siu-Tapia, A. L., Bellot Rubio, L. R., Orozco Suárez, D., & Gafeira, R. 2020, A&A, 642, A128 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  52. Socas-Navarro, H., de la Cruz Rodríguez, J., Asensio Ramos, A., Trujillo Bueno, J., & Ruiz Cobo, B. 2015, A&A, 577, A7 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  53. Stenflo, J. O., & Keller, C. U. 1997, A&A, 321, 927 [NASA ADS] [Google Scholar]
  54. Stenflo, J. O., Solanki, S., Harvey, J. W., & Brault, J. W. 1984, A&A, 131, 333 [NASA ADS] [Google Scholar]
  55. Stenflo, J. O., Gandorfer, A., & Keller, C. U. 2000, A&A, 355, 781 [NASA ADS] [Google Scholar]
  56. Uitenbroek, H. 2001, ApJ, 557, 389 [Google Scholar]
  57. Uitenbroek, H. 2006, ApJ, 639, 516 [CrossRef] [Google Scholar]
  58. van Noort, M., Rouppe van der Voort, L., & Löfdahl, M. G. 2005, Sol. Phys., 228, 191 [Google Scholar]
  59. Vukadinovic, D., Milic, I., & Atanackovic, O. 2022, A&A, 664, A182 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  60. Waddell, J. 1963, ApJ, 137, 1210 [Google Scholar]

All Tables

Table 1.

Description of the CRISP/SST observations.

Table 2.

Atomic parameters of the three strongest blends in the Mg I b2 5173 Å line.

Table 3.

Configuration of the different NLTE inversion tests.

All Figures

thumbnail Fig. 1.

Intensity and polarization maps normalized to the continuum intensity of the quiet Sun, IQS. They show a bipolar region observed with CRISP in the Mg I b2 5173 Å line at 07:20 UT. Left: Intensity maps at different wavelengths. Right: Maps of Q and U averaged over three wavelengths in the blue wing (Δλ = −100, −50, and 0 mÅ), and a Stokes V magnetogram at ±50 mÅ from the core. The black arrow points toward the disk center. The red contours in the right panels delineate the boundaries of the pores.

In the text
thumbnail Fig. 2.

Intensity map at −700 mÅ from the core of the Ca II 8542 Å line. The observation was taken at 07:20 UT.

In the text
thumbnail Fig. 3.

NLTE inversions of the FTS atlas profiles using different setups. The FTS profiles are shown with black dots and have a wavelength sampling of 10 mÅ for both the Mg I 5173 Å and Fe I 6173 Å lines, except for one of the inversions in the last row, as specified in the legends. The best-fit profiles and the resulting atmospheric stratification from the different inversions are presented with colored solid lines, and the shaded areas indicate the estimated uncertainties. Each row compares the following setups: (a) a progressive NLTE inversion (test 1, red lines) versus a full NLTE inversion (test 2, green); (b) the effects of including OF (test 3, red) versus not using OF (test 2, green); (c) an inversion using the 6-level Mg atomic model (test 2, red) versus an inversion using the 13-level Mg atomic model (test 4, green); (d) the inclusion of some Mg blends (test 4, red) versus their exclusion (test 5, green); (e) the inclusion of Mg blends (test 4, red) versus their exclusion but including the photospheric Fe 6173 Å line instead (test 6, green); and finally, the effect of wavelength sampling in a smaller spectral window of ±800 mÅ in Mg and ±560 mÅ in Fe, comparing a spectral grid of 10 mÅ in both lines (test 7, red) to a grid similar to our SST observations with a step of 50 mÅ for Mg and 28 mÅ for Fe (test 8, green). For the detailed configuration used in each of these inversion tests, refer to Table 3.

In the text
thumbnail Fig. 4.

Results of the two-line NLTE inversion at five selected optical depths. From top to bottom, the maps correspond to log(τ) = 0, −1, −2, −3, and −4. From left to right: Temperature variation [K], LOS velocity [km s−1], unsigned longitudinal magnetic field [G], and magnetic field inclination [deg]. The mean temperature values of the FOV, Tmean, are indicated in the bottom left corners of the first-column panels for the corresponding optical depths.

In the text
thumbnail Fig. 5.

Map of the merit function, χ2, resulting from the two-lines NLTE inversions. The red pixels in the map indicate those places where the inversion did not converge to a good solution (∼0.06% of the FOV).

In the text
thumbnail Fig. 6.

Examples of Stokes profiles from different regions in the FOV (black markers) and best fits obtained with the different methods: two-line NLTE inversions (red lines), WFA using the spectral region ±500 mÅ around the Mg line core (blue), and LTE inversion of the Fe line (green). Panels display, from top to bottom, the Stokes I, Q, U, and V profiles normalized to the average continuum intensity in the quiet Sun, IQS. From left to right, each set of Stokes profiles corresponds to a pixel in the quiet Sun, in a bright magnetic structure, in a pore, and in a pore’s center. The resulting atmospheric stratifications are shown in Fig. 7.

In the text
thumbnail Fig. 7.

Atmospheric stratifications obtained with the different methods for the Stokes profiles shown in Fig. 6: the initial FALC model (dashed black lines) and the results from the two-line NLTE inversions (red lines), from the WFA using the spectral region ±500 mÅ around the Mg line core (blue), and from the LTE inversion of the Fe line (green). Panels display, from top to bottom, the temperature in K, the LOS velocity in km s−1, the magnetic field strength in G, and the magnetic field inclination in degree.

In the text
thumbnail Fig. 8.

NLTE RFs computed for the different sets of Stokes profiles and resulting atmospheres shown in Figs. 6 and 7, respectively. From top to bottom, the maps show the RF of Stokes I to changes in temperature, of Stokes I to changes in LOS velocity, and of Stokes V to changes in the magnetic field strength. All maps are normalized to their maximum value.

In the text
thumbnail Fig. 9.

Height variation of the longitudinal magnetic field, comparing results from the different methods. In the left column we show the traditional methods (from top to bottom): LTE inversion of the Fe I 6173 Å line, and WFA applied to the Mg I 5173 Å line within the spectral windows of ±500 mÅ, ±300 mÅ, and ±100 mÅ. In the center we show NLTE inversion at different optical depths, selected based on the maximum cross-correlation with the corresponding left maps, and in the right scatter plots comparing the results from the different methods, excluding |BLOS| values obtained from Stokes V profiles with signals below the 5σ level. Black contours on the left and central maps show the position of the pores. The dashed white lines in the scatter plots represent identity lines, and the red markers indicate the average values of the distribution in x-bins of 100 G. The red vertical lines depict the standard deviation along the y-axis for each 100 G bin on the x-axis. Two correlation coefficients are provided in each scatter plot: cc1 for the entire distribution and cc2 for |BLOS|< 1000 G.

In the text
thumbnail Fig. 10.

Height variation of the magnetic field inclination, comparing results from the LTE and WFA methods with those from the NLTE inversions. The format is similar to that of Fig. 9.

In the text
thumbnail Fig. 11.

Height variation of the LOS velocity, comparing results from the different methods. On the left we show traditional inferences (from top to bottom): LTE inversions of the Fe I 6173 Å line, bisector velocity of Mg at 50%, bisector velocity of Mg at 30%, and Doppler velocity of the Mg line core. In the center we show NLTE inversion results at different optical depths, selected based on the maximum cross-correlation with the traditional inferences, and on the right scatter plots comparing the results from the different methods. The format is similar to that of Fig. 9.

In the text

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.