Issue 
A&A
Volume 597, January 2017



Article Number  A31  
Number of page(s)  10  
Section  The Sun  
DOI  https://doi.org/10.1051/00046361/201628961  
Published online  19 December 2016 
Inference of magnetic fields in inhomogeneous prominences
^{1} MaxPlanckInstitut für
Sonnersystemforschung, JustusvonLiebigWeg 3, 37077 Göttingen, Germany
email: milic@mps.mpg.de
^{2} Astronomical Observatory
Belgrade, Volgina
7, 11060
Belgrade,
Serbia
^{3} UMR 7293 J. L. Lagrange Laboratory,
Université de Nice Sophia Antipolis, CNRS, Observatoire de la Côte
d’Azur, Campus
Valrose, 06108
Nice,
France
email: marianne.faurobert@oca.eu
^{4} Department of astronomy, Faculty of
Mathematics, University of Belgrade, Studentski Trg 16, 11000
Belgrade,
Serbia
email: olga@matf.bg.ac.rs
Received:
18
May
2016
Accepted:
30
August
2016
Context. Most of the quantitative information about the magnetic field vector in solar prominences comes from the analysis of the Hanle effect acting on lines formed by scattering. As these lines can be of nonnegligible optical thickness, it is of interest to study the line formation process further.
Aims. We investigate the multidimensional effects on the interpretation of spectropolarimetric observations, particularly on the inference of the magnetic field vector. We do this by analyzing the differences between multidimensional models, which involve fully selfconsistent radiative transfer computations in the presence of spatial inhomogeneities and velocity fields, and those which rely on simple onedimensional geometry.
Methods. We study the formation of a prototype line in ad hoc inhomogeneous, isothermal 2D prominence models. We solve the NLTE polarized line formation problem in the presence of a largescale oriented magnetic field. The resulting polarized line profiles are then interpreted (i.e. inverted) assuming a simple 1D slab model.
Results. We find that differences between input and the inferred magnetic field vector are nonnegligible. Namely, we almost universally find that the inferred field is weaker and more horizontal than the input field.
Conclusions. Spatial inhomogeneities and radiative transfer have a strong effect on scattering line polarization in the optically thick lines. In reallife situations, ignoring these effects could lead to a serious misinterpretation of spectropolarimetric observations of chromospheric objects such as prominences.
Key words: line: formation / radiative transfer / polarization / Sun: filaments, prominences
© ESO, 2016
1. Introduction
Magnetic fields play a crucial role in the physics of the outer solar atmosphere. Among other phenomena, magnetic effects are the origin of the formation and evolution of various chromospheric structures such as solar prominences (filaments) and spicules. To understand these objects it is essential to compare the magnetic field vector inferred from the observations with the magnetic field resulting from theoretical studies. The main sources of quantitative information on the magnetic field pervading these objects are spectral lines sensitive to the Hanle and Zeeman effects. The 10 830Å and D3 (5876Å) lines of helium are among the most frequently used spectral lines for such an analysis. To interpret the observations performed in these lines, different diagnostic tools have been devised, ranging from simple polarization diagrams (e.g. Landi Degl’Innocenti & Landolfi 2004) to modern inversion codes such as HAZEL (Asensio Ramos et al. 2008) and HELIX (Lagg et al. 2009).
The magnetic field is not an observable quantity; it is indirectly inferred from the observed Stokes vector. The interpretation of any spectropolarimetric observation is thus done assuming a specific generative model. The observed data are values of Stokes parameters for a given set of wavelengths and their errors are usually Gaussian and follow from the signaltonoise ratio. The generative model is inevitably simple and relies either on what is known as a singlescattering approximation or on a 1D slab model, which can also involve some elementary 1D radiative transfer. Although these generative models are oversimplified when compared to the “real” Sun, we are, in a way, condemned to use them because more sophisticated radiative transfer calculations are computationally very demanding and inversion techniques based on selfconsistent multidimensional polarized nonlocal thermodynamic equilibrium (NLTE) radiative transfer are still unfeasible.
In this paper we investigate the bias that emerges when a simple 1D model is used to interpret the observations that are, in fact, generated in a more complex (and more realistic) multidimensional, dynamic, and inhomogeneous medium. We study the polarized spectral line formation process in a 2D Cartesian slab standing above the solar surface and illuminated by the solar radiation. The slab is inhomogeneous in density and pervaded by different velocity fields and by a uniform vector magnetic field. We consider a prototype line, formed in the twolevel approximation (normal Zeeman triplet), under the assumption of complete frequency redistribution. These assumptions simplify the atomic physics involved and allow us to focus on “macroscopic” effects on the line formation process. We compute synthetic spectra from these models and then use a 1D scheme to “invert” these synthetic observations. We discuss the differences between the input parameters and the inferred ones and point to possible systematic errors and degeneracies in the process of the inference of the magnetic field vector in such objects.
2. Prominence model and computation of the spectra
Fig. 1 The geometry of the problem. The prominence is represented by a vertical slab that is finite and inhomogeneous in the xy plane and infinite and homogeneous along the zaxis. The slab is illuminated from the sides by the limbdarkened solar radiation. The line of sight corresponds to θ = π/ 2, ϕ = 0. 

Open with DEXTER 
We base the geometry of our multidimensional prominence model on the work of Heinzel & Anzer (2001). They were the first to introduce multidimensional radiative transfer to the computations of prominence spectra (see also Heinzel et al. 2005; Gunár et al. 2012, for subsequent applications and comparison with the observations). The prominence is modeled as a 2D Cartesian slab, finite and inhomogeneous in x and y directions and infinite in z direction (z is atmospheric normal, see Fig. 1). The direction of propagation of radiation and the magnetic field orientation are given in this referent system. The slab is pervaded with a velocity field which have components along all three directions. It is illuminated by the limbdarkened solar radiation coming from the sides. This illumination provides boundary conditions for the solution of the NLTE polarized line formation problem described below. We consider only isothermal prominences (there is no prominencetocorona transition region). As we will see from the following subsection, the radiative transfer problem is uniquely specified by the opacity distribution, the height of the slab above the solar limb, the incident radiation, and the atomic model.
2.1. Synthesis of emergent Stokes vector
We assume that the line is formed by resonant scattering in the framework of a twolevel atom model under the assumption of complete frequency redistribution (CRD). We study a prototype spectral line with restframe line center wavelength equal to 10 830 Å and Doppler width equal to 0.2 Å, which corresponds to the random velocity of ≈5 km s^{1}. The upper level inverse radiative lifetime of the transition is A_{ul} = 1 × 10^{7} s^{1}. We assume that the line is broadened only by the Doppler effect due to thermal motion of the scattering atoms, which leads to a Gaussian shape of the lineabsorption profile. The Landé factor of the transition is equal to 1.5. The intrinsic line polarizability (see below) is set to 0.3. The values of the line parameters mentioned above are chosen so that the polarization rates and magnetic field sensitivity correspond to the helium 10830 line, which is often used for prominence magnetic field diagnostics (e.g. Orozco Suárez et al. 2014).
In spectral lines formed out of local thermodynamic equilibrium (LTE) approximations, a part of the linear polarization (i.e. Stokes Q and U) arises from the scattering of anisotropic incident radiation, which gives rise to population imbalances in the upper level of the transition (in the case we are considering, the lower level is unpolarized). This polarization is then further modified by the presence of the magnetic field via the Hanle effect (e.g. Landi Degl’Innocenti & Landolfi 2004). The analysis of the observed Stokes spectrum then, in principle, allows us to find the magnetic field vector.
The equations which govern the transfer of polarized radiation, under the above assumptions and with no background continuum, are given by (1)and the equation of statistical equilibrium for a twolevel atom, (2)Here, Î is the polarized intensity (i.e. Stokes vector), Î = (I,Q,U,V)^{T}; Ŝ is the polarized source function, i.e. the ratio of emissivity and opacity; and dτ = χ_{L}ds (where ds is the elementary geometrical path and χ_{L} is so called lineintegrated opacity) is the optical path along the ray. The matrix Ŵ contains contributions from different (de)polarizing mechanisms. When depolarizing collisions are absent, Ŵ = Ŵ_{H}Ŵ_{2}, where Ŵ_{H} is the magnetic matrix (Frisch 2007) and W_{2} is the intrinsic line polarizability, which in this case is equal to diag(1,0.3,0.3,0). The lineabsorption profile φ(λ) is taken to have Gaussian shape. Finally is the scattering matrix which describes the angular coupling between the incoming and outgoing photons (see e.g. Faurobert 1987; Bommier 1997). In the case of resonant line scattering, the matrix corresponds to the Raighley’s scattering matrix, while in the multilevel atom case a different approach must be used, namely the density matrix formalism described in Landi Degl’Innocenti & Landolfi (2004). We solve the coupled Eqs. (1)and (2)by employing the real reduced intensity formalism described in Frisch (2007) and generalized to multidimensional geometries by Anusha & Nagendra (2011), and by performing Jacobi iterations to solve the coupled equations in the reduced basis.
The formalism briefly described above allows us to compute the I, Q, and U components of the Stokes vector created in the scattering processes and modified by the magnetic field (Hanle effect). The V component, however, is due to the Zeeman effect. In the particular case of a simple prominence model, where the magnetic field is assumed to be weak and constant through the medium, Stokes V is given by the socalled weak field approximation (Landi Degl’Innocenti & Landolfi 2004) (3)where g is the Landé factor and B_{} is the lineofsight component of the magnetic field vector. In this expression, the wavelength is given in angstrom and the magnetic field strength in gauss. The Zeeman effect also modifies Stokes Q and U, but in this particular case of weak magnetic fields these effects are negligible when compared to the scattering polarization and Hanle effect.
After the selfconsistent solution for the polarized source function has been found, it is possible to perform formal solutions in the desired directions and at the desired wavelengths to synthesize the emergent Stokes vector. For a given atomic model, the formation of the emergent spectra is completely determined by the height of the slab above the solar limb H (which we take to be equal to 20 arcsec, approximately 15 Mm), by the opacity and velocity distributions, and by the incident radiation. To obtain the radiation field that illuminates the slab we use the limbdarkened continuum radiation corresponding to the solar limb darkening law in the nearinfrared. In this paper we confine ourselves to the case where the observed object is at the solar limb, so we observe the radiation emerging from the object in the direction θ = π/ 2 and ϕ = 0 (see Fig. 1).
Fig. 2 Synthetic polarized spectra emerging from a homogeneous 2D slab, as described in Sect. 3.1. 

Open with DEXTER 
2.2. Interpretation of the observed Stokes vector
Scattering polarization in general, carries two types of information, on the radiation anisotropy inside the object and on the magnetic field vector. We discuss these two aspects in a bit more detail: in the absence of the magnetic field and any azimuthal anisotropies Stokes Q depends solely on the vertical anisotropy. The existence of nonzero Stokes U indicates either the presence of a magnetic field or of another symmetrybreaking effect, such as the azimuthal anisotropy of the radiation field. ssume an optically thin ensemble of atoms situated above the solar surface, and scattering of the incident radiation. In this singlescattering scenario, Stokes Q is nonzero because the scattering atoms are illuminated by a cone of limbdarkened radiation, while Stokes U is zero because the radiation is axisymmetric with respect to the zaxis. The magnetic field rotates the plane of polarization and creates, in the general case, nonzero Q and U. This, together with the measurement of Stokes V, allows magnetic field diagnostics in optically thin plasma (e.g. Landi Degl’Innocenti & Landolfi 2004; Asensio Ramos et al. 2008). However, observations and analysis of prominence spectra show that they are of moderate optical thickness in certain diagnostically important lines (e.g. He 10830, Orozco Suárez et al. 2014).
Scattering in optically thick medium leads to various radiative transfer effects. In particular, if the medium is inhomogeneous, we are to expect nonzero Stokes U even in the absence of a magnetic field. The presence of a magnetic field modifies both Q and U. It is important to understand these effects and take them into account as solar prominences, filaments, and spicules exhibit complicated (i.e. inhomogeneous) and dynamic structures. However, all interpretations so far have used simple generative models to interpret the observations. By definition, these models (either the singlescattering or simplified 1D slab) do not account for these multidimensional effects. This means that if multidimensional effects are present in the reallife prominences, spectral diagnostics relying on a model that neglects them would be fundamentally wrong.
Our aim in the remainder of the paper is to show the importance of the effects of inhomogeneities, velocity fields, and radiative transfer on polarized line formation in solar prominences. We start with a very simple example.
3. Illustrative examples
3.1. Homogeneous 2D slab
As a reference case, we first compute and plot emergent polarization from a homogeneous, static and nonmagnetized slab which is finite in the xy plane. The slab has an optical depth along x (line of sight) equal to unity and an optical depth along y equal to 5. As this is an illustrative example, and the prominence is homogeneous, we do not relate the optical depth to its geometrical dimensions.
Figure 2 shows the spatial distribution of the Stokes profiles. These density plots can be understood as synthetic spectra where the light has been dispersed along the horizontal axis, while the vertical axis shows the spatial variation of the Stokes profiles along the spectrograph slit. In this case, we show the spatial distribution along the yaxis (see Fig. 1). This would correspond to a slit positioned parallel to the solar limb. Stokes Q, U, and V in every pixel are normalized with respect to the maximum intensity in the corresponding pixel.
The I component is identical to what would be obtained with a 1D model. Stokes V is zero because there is no magnetic field in the slab. The Q/I and U/I components, however, are not constant along the slab. The most prominent effect is a strong polarization in Stokes U/I because of the breaking of the left/right symmetry close to the edges of the slab. Namely, outside the “cone” of radiation that illuminates the slab, the incoming radiation is zero, while the emergent radiation is not. This breaks the azimuthal (leftright) symmetry and results (in this case) in a significant Stokes U/I signal. Moving toward the center of the slab, the radiation becomes more and more axisymmetric and U tends to zero. This also explains the increase of Stokes Q/I close to the edges. The increase in the polarization is not as prominent, as updown asymmetry (anisotropy of distribution of the radiation in θ) exists everywhere in the slab. Neither of these two effects exists in 1D models because they are infinite both in y and z and it is impossible to break the leftright symmetry in the absence of a magnetic field. We note that this last statement is strictly valid only for this viewing angle (θ = π/ 2,φ = 0). To see the effects of different viewing geometry, see e.g. Bommier et al. (1989).
Realistic astrophysical objects, however, do not have such sharply defined boundaries and thus we are unlikely to see the “edge” effects described above in reallife objects. Another effect that can create polarization in Stokes U are inhomogeneities in the object. We now present a toy model of prominence which demonstrates these effects.
3.2. Twodimensional slab with horizontal inhomogeneities: magnetic fieldfree case
For the following example we study a toy model of a multithreaded prominence. The presence of threads is well established now (for a detailed reviews on prominence structure, spectrum formation and oscillations see Labrosse et al. 2010; Mackay et al. 2010), and radiative transfer computations which incorporate such structures have been done (Léger & Paletou 2009; Gunár et al. 2012). None of these, however, involve any computations of scattering polarization in spectral lines, which is a pity because polarization is supposed to be an excellent probe of the inhomogeneities in the medium. We illustrate this in the following example.
We consider an inhomogeneous, isothermal prominence which consists of N = 50 overdensities which have a Gaussian shape in the xy plane. That is, our opacity (density) structure has the form (4)where x_{0,i} and y_{0,i} are the center coordinates of the ith thread and χ_{0} is constant, chosen so that the spatially averaged, lineintegrated optical depth along the line of sight is equal to unity. That is, (5)where σ is the halfwidth of the threads; in the following examples we take σ = 150 km. The dimensions of the prominence are x_{total} = 2000 km and y_{total} = 16 000 km (approx 22 arcsec in the plane of the sky). The prominence height and the atomic model parameters are the same as in the previous section. We first discuss the emergent spectrum obtained in the absence of magnetic field and we leave the magnetized case and its interpretation for the next section.
The emergent synthetic Stokes spectra are shown in Fig. 3. First three Stokes components now show fluctuations over the slit. The intensity follows the distribution of the opacity. As the prominence is still optically thin, in the first approximation we can assume that the source function for Stokes I, S_{I}, is constant and equal to the incident mean intensity. In this case, the formal solution of the radiative transfer equation yields where τ_{λ} is the total optical depth of the prominence along the line of sight at the wavelength λ. As the opacity per particle is assumed to be constant in the prominence, the optical depth is proportional to the column density along the line of sight.
Fig. 3 Synthetic polarized spectra emergent from an inhomogeneous slab in absence of the magnetic field. We note the nonzero Stokes U, which is the consequence of azimuthal anisotropy. 

Open with DEXTER 
The distribution of Stokes Q/I is anticorrelated with Stokes I. This can be understood from the following argument: a more opaque medium results in a more highly isotropic radiation inside owing to multiple scatterings and hence in a smaller Q component of linear polarization. We note that this effect can be explained qualitatively by 1D models as well. The spatial variations of Stokes U are, however, a purely multidimensional effect. They arise because the variations in opacity directly result in the axial asymmetry of the radiation field which, in turn, results in a Stokes U signal. This effect has already been studied by e.g. Trujillo Bueno & Shchukina (2007) and Štěpán et al. (2015) for the inhomogeneities in the solar atmosphere. In the particular case of prominences, this effect is equally important as the physical conditions in prominences are very similar to those in the chromosphere. There are two main reasons why these effects might influence our inference from spectropolarimetric observations. First, prominences are very dilute and the mean optical path of photons could easily be larger than the spatial resolution of the telescope. This means that the coupling of different regions in the prominence due to the scattering processes could actually be observed. Second, in simple prominence magnetic field diagnostics the presence of Stokes U is interpreted as the presence of a magnetic field. Spurious U signals due to multidimensional effects could easily lead to a misinterpretation of prominence spectra and misdiagnosis of the magnetic field.
4. The magnetized case
The discussion above illustrates the appearance of a “nonmagnetic” rotation of the polarization plane. That is, we have explained how multidimensional effects can create polarization in Stokes U in the absence of a magnetic field. We are, however, practically certain that magnetic fields are present in solar prominences. It is of interest, then, to repeat the computations of the previous section, but now taking into account the Hanle and Zeeman effects of a given magnetic field. We use the same opacity distribution and prominence model as in the previous case, but we assume that the prominence is pervaded with a homogeneous magnetic field with magnitude 5 Gauss and orientation (θ_{B} = 75^{o}, φ_{B} = 50^{o}).
To bring our computations closer to actual observations we also convolve the spatial distribution of the Stokes profiles with a Gaussian point spread function with halfwidth equal to 0.4 arcsec (which is a crude approximation to a 1 arcsec wide Airy disk) to simulate the smearing effects of the limited angular resolution of a groundbased instrument. Afterward, we bin our data in 0.5 arcsec wide bins. The resulting spectra are shown in Fig. 4.
Fig. 4 Same as Fig. 4, but the slab is now pervaded with magnetic field and spatial degradation has been applied. See the text for details. 

Open with DEXTER 
Both Stokes Q and U are nonzero everywhere in the prominence. The interpretation of their magnitudes, shapes, and spatial distribution is, however, not trivial because we are faced with the coupled effects of multidimensional radiative transfer and the Hanle effect. We note that Stokes V is given by the weak field approximation and that, in principle, it is directly proportional to the component of the magnetic field parallel to the line of sight.
In the next step, we devise a simple 1D inversion scheme and apply it to the synthetic data shown in Fig. 4.
4.1. Interpretation of the synthetic data
We base our interpretation scheme on a 1D slab model, as in e.g. Asensio Ramos et al. (2008). We parametrize the slab (i.e. the generative model), with the following parameters:

Lineintegrated optical depth (τ) of the slab along the line of sight. This parameter influences the shape and the magnitude of the emergent Stokes vector. If the radiative transfer effects inside the slab are accounted for, it also influences the anisotropy of the radiation. For example, in the magnetic fieldfree case, an increase in τ would result in a decrease in the vertical anisotropy and thus in a smaller signal in Stokes Q.

Linecenter position (λ_{0}). This parameter accounts for the systematic velocity of the slab as a whole. In practice, it only shifts the profile left and right.

Doppler halfwidth of the line (Δλ_{D}) given in terms of the turbulent velocity v_{t}, which is a combination of thermal (Maxwellian) and microturbulent velocities.

Magnetic field vector, given by its magnitude and orientation (B, θ_{B}, φ_{B}).
To interpret the data we need to describe the mapping , where and Î is the emergent Stokes vector. This mapping is, of course, given by the radiative transfer processes. That is, we need to find a selfconsistent solution of the equations of radiative transfer and statistical equilibrium (Eqs. (1)and (2)) in the presence of the magnetic field, this time in 1D. We first solve the unpolarized problem to find the vertical anisotropy of the radiation, i.e. the first two components of reduced mean intensity (Anusha & Nagendra 2011). Then, we account for the effect of the magnetic fields to compute the emergent Stokes vector. In this procedure we assume that the polarized source function is dominated by the angular distribution of Stokes I, which is taken to be the same as in the unpolarized case. This is similar to the approach taken by Asensio Ramos et al. (2008) in their forward modeling of the Hanle and Zeeman effect in the helium atom. Strictly speaking, in optically thick plasma, all Stokes parameters significantly influence radiation field anisotropy. This effect requires detailed calculations and can prove to be important (see e.g. Trujillo Bueno 2001). We omit it here for simplicity but also because it is not accounted for in current Hanle inversions.
After the generative model is fully described and we are able to compute Î given , we need to specify the merit function. In general, we are interested in the shape of the probability density function of the parameters given the data, that is , where D stands for “Data” (the observed Stokes vector) with their corresponding uncertainties (errors). Bayes’ theorem states that (6)where the lefthand side is known as the a posteriori probability, is the likelihood, is the a priori probability, and p(D) is known as the evidence. Finding the maximum of the a posteriori probability (MAP) in the hyperspace of parameters and, more generally, the shape of is the aim of the Bayesian methods (Mackay 2003). These have been seldom used in solar physics, but see Asensio Ramos et al. (2007) and Asensio Ramos (2011) for different insightful examples.
Under the assumption of Gaussian uncertainties only on the independent variable (Stokes vector), the likelihood function has the form (7)where (8)where the indices s and i refer to the different Stokes components and different wavelength points and the superscripts O and C refer to the observed and computed Stokes vector. The weights w_{si} in principle follow from the noise of the individual points, which is inferred from the signaltonoise ratio of the observations. It is important to note that the evidence (p(D)) does not depend on the parameters. Now, in the case where all the parameters are equally probable (the socalled uniform priors), finding the maximum of the posterior probability reduces to finding the maximum of the likelihood which is, under these assumptions, nothing else but the minimization of χ^{2}.
We impose some simple priors for our parameters. The optical depth of the slab, the thermal velocity, and the magnetic field strength have to be positive. The priors for these parameters are thus step functions. We also impose that the azimuth of the magnetic field must be between zero and 90°. This is mostly to avoid ambiguities as we know the “real” magnetic field and just want to see how much the inversion misses owing to the inadequate model. Finally, we restrict the inclination to the range (0,180°) and use the prior (9)which corresponds to an isotropic magnetic field distribution.
There are a number of ways to find MAP (or, when priors are not important, to minimize χ^{2}). Here we opt for the simple but robust Affineinvariant Markov chain Monte Carlo method (MCMC, see Goodman & Weare 2010). The implementation is done in python, under the “emcee” package (ForemanMackey et al. 2013). This approach allows us not only to find the maximum (hopefully global) of the a posteriori probability, but also to sample around it, analyze the marginalized probability density distributions of individual parameters (to reliably evaluate the parameter uncertainties) or parameter combinations (to study the degeneracies between the parameters), and in general to probe the shape of the function in the hyperspace of parameters. Before inverting the synthetic data, we verify the fitting procedure on a single scattering case and find that it recovers the original magnetic field well.
4.2. Inversion results: noisefree case
We now invert (i.e. fit, find MAP) each of synthetic pixels given in Fig. 4 using the model presented in the previous section. We note that, in principle, the likelihood, and thus the a posteriori probability density functions are defined for given values of the measurement uncertainties. To simulate observational data it is necessary to add (in the simplest approximation) a Gaussian noise of a given level to these observations. We first invert the synthetic observations adding a very low level of wavelength independent noise equal to 10^{6} times Stokes I in the disk center.
We expect very good fits of Stokes I line profiles as the line is everywhere close to being optically thin and because inhomogeneities do not influence the scalar source function (and thus intensity) as much as the polarized one. It is also expected that the fitting procedure (regardless of the specific implementation) will easily fit the intensity and the circular polarization and will then try to find the best possible fit for the linear polarization. Now, because the linear polarization is generated via multidimensional effects, this might not be the case. The fitting procedure might (erroneously) offset a good fit in Stokes V with fits in Stokes Q and U.
First we analyze the profiles emerging on the edge of the slab. Figure 5 shows the best fit for the first pixel (i.e. the one with y = 0). Interestingly, the fit for all the Stokes components is quite good. However, the inferred parameters are somewhat different from the input values. The inferred magnetic field is weaker (3.9 ± 0.1 Gauss), and more inclined and directed toward the observer (87°, 39°).
Fig. 5 Stokes spectrum emerging from the location with y = 0″, and the best fit solution. 

Open with DEXTER 
Fig. 6 Upper panels: same as in Fig. 5, but for pixel at y = 8.5″. Lower panels: posterior distributions for the inferred magnetic field vector. 

Open with DEXTER 
Fig. 7 Distribution of inferred magnetic field strength (blue), inclination (red), and azimuth (green) over the face of the slab. Polarized spectra used for the inference are given in Fig. 4. 

Open with DEXTER 
The above example is not surprising as we expect disagreement on the edges of the slab. In Fig. 6 we show the best fit for the pixel at y = 8.5″. The fit in the first three Stokes parameters is good, but the inferred parameters (see the corresponding triangle plot) are far from the input values: we obtain (B,θ_{B},χ_{B}) ≈ (1.3 G,94°,33°), i.e. a significantly weaker and more inclined magnetic field than the input value. We note that the bad fit in Stokes V is not due to the fitting procedure. We restarted the MCMC sampler several times to find the best fitting profiles. Our interpretation is the following: Because of the multidimensional effects, the linear polarization significantly differs from the value predicted by the 1D model. The fitting procedure then modifies magnetic fields to find the best fit in all four components of the intensity vector. As the polarization is smallest in Stokes V, that is where we find the greatest discrepancy between synthetic observations and the fit.
We find it necessary here to discuss briefly the way of visualizing sampled posterior probability. The triangle plot (lower panel of Fig. 6) shows the marginalized posterior probability distributions of parameters (and combinations of parameters) for the three parameters describing the magnetic field vector. For example, the 1D histogram for the values of the magnetic field strength (top panel) is proportional to the following probability density function: (10)Integration over the remaining parameters is referred to as “marginalization”. The 2D histograms on the triangle plot are to be understood in a similar manner. These histograms provide us with the shape of posterior probability for the parameters and give us insight into the uncertainties of the inferred parameters. We find it very interesting that the polarized spectra shown in Figs. 5 and 6 can be fit fairly well with a combination of parameters which are significantly different from the input values. Also, the uncertainties for the inferred parameters are very small (these actually depend on the noise values, but that discussion is beyond the scope of this paper).
These fits are not isolated examples. Actually, for all the inversions, we systematically obtain weaker magnetic fields which are, in general more directed toward the observer than the input values (see Fig. 7). The interpretation of such a result is not straightforward as it is not easy to intuitively understand the effects of multidimensional radiative transfer. In principle, it is reasonable to expect that inhomogeneity results in increased total polarization. To compensate for this, the 1D inversion procedure invokes a weaker magnetic field (i.e. introduces a smaller amount of depolarization). It also tries to recover the lineofsight component of the magnetic field as accurately as possible, and thus the inferred magnetic field is directed more toward the observer than the input value. Again, these are the results of the noisefree data. Our next step is to analyze synthetic data that we have computed including velocity fields effects and adding a nonnegligible photon noise.
4.3. Adding velocity fields and photon noise
Different kinds of observations and theoretical modeling have shown that prominences (and other atmospheric structures as well) are pervaded by various kinds of velocity fields. These include oscillations (Mackay et al. 2010; Heinzel et al. 2014), various up and downflows, and probably some random but not thermal motions (see the work of Gunár et al. 2012, where they invoke random thread velocities to explain Lyα intensity distribution). In some prominences there are also eruptive plasma velocities directed away from the solar surface, which leave an imprint on the prominence spectra via a mechanism known as Doppler brightening/darkening (Heinzel & Rompolt 1987; Labrosse et al. 2007). Each of these types of velocities can influence the scattering polarization in spectral lines (see the work of Carlin & Asensio Ramos 2015, for the influence of dynamics on emergent polarized spectra), and probably deserves a paper of its own. Here we restrict ourselves to a very simple case. We assign each thread a velocity equal to the Doppler velocity of the plasma, which is directed randomly. To ensure smooth transition in velocities in the slab, the systematic velocity of each thread falls off following the density of the thread in question. These velocities, in general, shift and broaden the intensity profiles, and can also modify the scattering polarization. An example of synthetic Stokes spectra is shown in Fig. 8. We note that, in this example, we have a different realization of the thread positions from the one corresponding to Fig. 4.
Before inverting these results, we now also add a random amount of Gaussian noise to them. We assume that the noise at each pixel in Fig. 8 is proportional to the square root of the appropriate Stokes I and that the noise at the disk center (i.e. for I = 1) is 3 × 10^{5} (which corresponds to approximately 10^{9} counts). While this amount of noise does not influence Stokes I noticeably, the noise is visible in the polarized profiles as they are an order of 2–3 mag smaller. We also take into account the wavelength dependence of the noise and the fact that noise in Stokes Q, U, and V is larger by a factor with respect to noise in Stokes I. We comment briefly on the obtained results as the main conclusions do not change with respect to the previous section.
After inverting this set of synthetic data we find similar results to those in the previous section. The magnetic field is almost universally weaker and directed more toward the observer. In some of the inverted pixels we have found characteristic, bananashaped, parameter distributions (Fig. 9).
Fig. 8 Same as Fig. 4, except the random realization of threads is different and threads now have systematic velocity (see the text for details). 

Open with DEXTER 
From the triangle plot given in Fig. 9, it is obvious that the posterior distribution of parameters is much broader and asymmetric. The best fit for this particular case is approximately (B,θ_{B},χ_{B}) = (3.5,G,82°,37°). The uncertainties are much larger than in the previous section. This is the consequence of the noise. Obviously, a good knowledge of the noise is crucial for the quantitative interpretation of spectropolarimetric observations. This conclusion stands regardless of the main points of this paper and we postpone the discussion of photon noise effects on spectropolarimetric inference to our future investigations.
Fig. 9 Upper panels: polarized spectrum at location y = 4.5″ from Fig. 8, and the best fit. Lower panels: corresponding triangle plot. 

Open with DEXTER 
5. Conclusions
In this paper we have studied the formation of a prototype twolevel atom line in a prominencelike structure situated above the solar surface. The structure is finite and inhomogeneous in the xy plane and infinite and homogeneous in the z direction. The line is assumed to have atomic parameters similar to the He 10830 line. Taking into account the weak field Zeeman effect and the Hanle effect, we have computed a full Stokes vector emerging from the prominence. We have then applied spatial smearing and binning to obtain synthetic spectra.
We first conclude that the presence of spatial inhomogeneities induces the presence of linear polarization in Stokes U even in the absence of a magnetic field. The magnitude of this polarization is comparable to the magnitude of Stokes Q. In the presence of a magnetic field, the interplay of the Hanle effect and of the radiative transfer effects on the resulting Stokes profiles is qualitatively hard to interpret and therefore we have conducted an inversion of the synthetic spectra using an affineinvariant MCMC scheme. The model used for the inversion is identical to the one used for the forward synthesis except for the fact that it only accounts for 1D radiative transfer.
The magnetic field vector retrieved by our inversion procedure is more directed toward the observer (i.e. the polar angle is closer to π/ 2 and the azimuth is closer to zero) with respect to the input magnetic field. Also, the magnitude of the inferred magnetic field is significantly lower (≈2 versus the original 5 Gauss). We argue that this is because of the multidimensional and radiative transfer effects which cannot be explained by a simple 1D inversion procedure. We draw a parallel with the real Sun where the 1D inversion schemes are used to interpret line profiles formed in multidimensional environments. We also briefly comment on the influence of systematic velocities and photon noise on the spectra. Moderate, random velocities do not seem to influence the spectrum significantly. The presence of noise, on the other hand, has a strong impact on the inference process. Even the relatively low level of noise we have used here causes broad and asymmetric posterior probabilities of the relevant parameters.
It is obvious that prominences are more complex than depicted here. They are, undoubtedly, inhomogeneous along the zaxis as well. These are not only inhomogeneities in physical parameters, but also in boundary conditions as lower parts of the prominence “see” stronger and less anisotropic radiation. It would be of great importance to study the effects of vertical radiative transfer in this case as the vertical geometrical scales of the problem are similar to the horizontal scales. The most thorough approach would be to synthesize a full Stokes spectrum of realistic spectral lines, coming from a 3D model, and then invert it using stateoftheart inversion codes (HAZEL, HELIX+). This paper is only the first step in the investigations intended to highlight the problems with using the contemporary inversion techniques in the study of spectral lines formed in NLTE.
We conclude this paper, which we hope was instructive, by asking a question: how relevant is this radiative transfer exercise to the interpretation of realistic solar observations? It is tempting to ascribe the dominance of the horizontal fields found in the interpretation of prominence observations to these radiative transfer effects. In the case where the observed line is optically thin, the line formation is nicely described by a singlescattering approximation, and multidimensional effects are negligible (e.g. the D3 line of helium). Inference methods that rely on multiline observations are also probably immune to these effects. However, for cases where a single, optically thick line is used (e.g. spicules, some prominences), it is possible to encounter line profiles that require detailed radiative transfer modeling. Unfortunately, inversion schemes for the lines formed by scattering which involve multidimensional radiative transfer are (probably) still far away. Detailed, multidimensional NLTE modeling is our best hope to understand the physical conditions in the medium where these lines are formed, both in the chromosphere and in various chromospheric and transitionregion structures.
Acknowledgments
I.M. thanks Rafael Manso Sainz for fruitful discussions on the topics and many useful remarks on the manuscript. I.M. is thankful to the Observatoire de la Côte d’Azur for a fourweek research grant which made finishing this paper possible. O.A. and I.M. both acknowledge the support of the Serbian Ministry of Education and Science through the project 176004 “Stellar Physics”, as well as financial support from the grant “Pavle Savić”.
References
 Anusha, L. S., & Nagendra, K. N. 2011, ApJ, 726, 6 [NASA ADS] [CrossRef] [Google Scholar]
 Asensio Ramos, A. 2011, ApJ, 731, 27 [NASA ADS] [CrossRef] [Google Scholar]
 Asensio Ramos, A., Martínez González, M. J., & RubiñoMartín, J. A. 2007, A&A, 476, 959 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Asensio Ramos, A., Trujillo Bueno, J., & Landi Degl’Innocenti, E. 2008, ApJ, 683, 542 [NASA ADS] [CrossRef] [Google Scholar]
 Bommier, V. 1997, A&A, 328, 706 [NASA ADS] [Google Scholar]
 Bommier, V., Landi Degl’Innocenti, E., & SahalBrechot, S. 1989, A&A, 211, 230 [NASA ADS] [Google Scholar]
 Carlin, E. S., & AsensioRamos, A. 2015, ApJ, 801, 16 [NASA ADS] [CrossRef] [Google Scholar]
 Faurobert, M. 1987, A&A, 178, 269 [NASA ADS] [Google Scholar]
 ForemanMackey, D., Hogg, D. W., Lang, D., & Goodman, J. 2013, PASP, 125, 306 [NASA ADS] [CrossRef] [Google Scholar]
 Frisch, H. 2007, A&A, 476, 665 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Goodman, J., & Weare, J. 2010, Comm. App. Math. Comp. Sci., 5, 65 [CrossRef] [MathSciNet] [Google Scholar]
 Gunár, S., Mein, P., Schmieder, B., Heinzel, P., & Mein, N. 2012, A&A, 543, A93 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Heinzel, P., & Anzer, U. 2001, A&A, 375, 1082 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Heinzel, P., & Rompolt, B. 1987, Sol. Phys., 110, 171 [NASA ADS] [CrossRef] [Google Scholar]
 Heinzel, P., Anzer, U., & Gunár, S. 2005, A&A, 442, 331 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Heinzel, P., Zapiór, M., Oliver, R., & Ballester, J. L. 2014, A&A, 562, A103 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Labrosse, N., Gouttebroze, P., & Vial, J.C. 2007, A&A, 463, 1171 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Labrosse, N., Heinzel, P., Vial, J.C., et al. 2010, Space Sci. Rev., 151, 243 [NASA ADS] [CrossRef] [Google Scholar]
 Lagg, A., Ishikawa, R., Merenda, L., et al. 2009, in The Second Hinode Science Meeting: Beyond DiscoveryToward Understanding, eds. B. Lites, M. Cheung, T. Magara, J. Mariska, & K. Reeves, ASP Conf. Ser., 415, 327 [Google Scholar]
 Landi Degl’Innocenti, E., & Landolfi, M. 2004, Polarization in Spectral Lines, Astrophys. Space Sci. Lib., 307 [Google Scholar]
 Léger, L., & Paletou, F. 2009, A&A, 498, 869 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Mackay, D. J. C. 2003, Information Theory, Inference and Learning Algorithms (Cambridge University Press) [Google Scholar]
 Mackay, D. H., Karpen, J. T., Ballester, J. L., Schmieder, B., & Aulanier, G. 2010, Space Sci. Rev., 151, 333 [NASA ADS] [CrossRef] [Google Scholar]
 Orozco Suárez, D., Asensio Ramos, A., & Trujillo Bueno, J. 2014, A&A, 566, A46 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
 Trujillo Bueno, J. 2001, in Advanced Solar Polarimetry – Theory, Observation, and Instrumentation, ed. M. Sigwarth, ASP Conf. Ser., 236, 161 [NASA ADS] [Google Scholar]
 Trujillo Bueno, J., & Shchukina, N. 2007, ApJ, 664, L135 [NASA ADS] [CrossRef] [Google Scholar]
 Štěpán, J., Trujillo Bueno, J., Leenaarts, J., & Carlsson, M. 2015, ApJ, 803, 65 [NASA ADS] [CrossRef] [Google Scholar]
All Figures
Fig. 1 The geometry of the problem. The prominence is represented by a vertical slab that is finite and inhomogeneous in the xy plane and infinite and homogeneous along the zaxis. The slab is illuminated from the sides by the limbdarkened solar radiation. The line of sight corresponds to θ = π/ 2, ϕ = 0. 

Open with DEXTER  
In the text 
Fig. 2 Synthetic polarized spectra emerging from a homogeneous 2D slab, as described in Sect. 3.1. 

Open with DEXTER  
In the text 
Fig. 3 Synthetic polarized spectra emergent from an inhomogeneous slab in absence of the magnetic field. We note the nonzero Stokes U, which is the consequence of azimuthal anisotropy. 

Open with DEXTER  
In the text 
Fig. 4 Same as Fig. 4, but the slab is now pervaded with magnetic field and spatial degradation has been applied. See the text for details. 

Open with DEXTER  
In the text 
Fig. 5 Stokes spectrum emerging from the location with y = 0″, and the best fit solution. 

Open with DEXTER  
In the text 
Fig. 6 Upper panels: same as in Fig. 5, but for pixel at y = 8.5″. Lower panels: posterior distributions for the inferred magnetic field vector. 

Open with DEXTER  
In the text 
Fig. 7 Distribution of inferred magnetic field strength (blue), inclination (red), and azimuth (green) over the face of the slab. Polarized spectra used for the inference are given in Fig. 4. 

Open with DEXTER  
In the text 
Fig. 8 Same as Fig. 4, except the random realization of threads is different and threads now have systematic velocity (see the text for details). 

Open with DEXTER  
In the text 
Fig. 9 Upper panels: polarized spectrum at location y = 4.5″ from Fig. 8, and the best fit. Lower panels: corresponding triangle plot. 

Open with DEXTER  
In the text 
Current usage metrics show cumulative count of Article Views (fulltext 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 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.