Free Access
Issue
A&A
Volume 524, December 2010
Article Number A5
Number of page(s) 14
Section Astronomical instrumentation
DOI https://doi.org/10.1051/0004-6361/201015429
Published online 19 November 2010

© ESO, 2010

1. Introduction

Many modern echelle spectrographs allow one to record high-resolution stellar spectra for the entire wavelength range spanning from the near-UV to near-IR (3500–10 000 Å). These data contain an enormous amount of information about the physical conditions, dynamics, and chemistry of the stellar surface layers. However, often only a small number of spectral features is used in astrophysical analyses that are based on these observations. This is justified when one is interested in specific diagnostic lines or in chemical elements with sparse spectra. On the other hand, there are many processes that produce a very similar imprint on many spectral lines. For instance, the radial velocity shifts owing to the orbital motion in a binary system, non-radial stellar pulsations, and cool spots on the surfaces of late-type active stars affect all spectral lines in a similar way. Thus, one can employ a multiline technique to extract common physical information from many spectral lines and determine an average profile with a high signal-to-noise (S/N) ratio.

Early applications of the multiline spectrum analysis focused on the detection of the weak magnetic field in cool stars using circular polarization observations. Direct detection of complex and generally weak polarization signatures of the dynamo-generated magnetic fields in individual spectral lines requires a S/N ≈ 1000 (Donati et al. 1992), which is impossible to reach for all but the brightest objects. Semel (1989) and Semel & Li (1996) suggested to average polarization measurements of many spectral lines to detect and analyze magnetic fields with polarization observations of a modest quality. Donati et al. (1997) refined this simple line addition procedure into the least-squares deconvolution (LSD) method. This technique assumes that all spectral lines have the same profile, scaled by a certain factor, and that overlapping lines add up linearly. These assumptions lead to a highly simplified description of the intensity and circular polarization observations in terms of the convolution of a known line mask with an unknown profile. With this approximation one can reconstruct an average line shape, the LSD profile, which is formally characterized by an extremely high S/N ratio.

The LSD analysis of the circular polarization observations has been very successful in detecting weak magnetic fields in stars over the entire Hertzsprung-Russell diagram (e.g., Petit et al. 2008; Lignières et al. 2009; Aurière et al. 2009; Alecian et al. 2008; Donati et al. 2008; Morin et al. 2008). The LSD was also extended to the Stokes Q and U spectra by Wade et al. (2000b) with the aim to characterize weak linear polarization signatures in magnetic Ap stars. Outside the research area of stellar activity and magnetism LSD was applied to disentangle composite spectra of multiple stars and measure their orbital radial velocity variation (Hareter et al. 2008). A modification of the LSD method was also employed in the search for stellar differential rotation through the line profile analysis (Reiners & Schmitt 2003).

Many studies went further than using LSD as a simple magnetic field and starspot detection tool, attempting to interpret the LSD profiles and extract various physical information. These applications range from a relatively simple determination of the longitudinal magnetic field from the LSD Stokes V (Aurière et al. 2007) and of the net linear polarization from the LSD Stokes QU data (Wade et al. 2000a) to numerous sophisticated Doppler and Zeeman-Doppler imaging studies. In the latter investigations the time series of the LSD profiles were interpreted under different physical assumptions, with regularized inversion techniques to produce magnetic (e.g., Donati et al. 2003), chemical (Folsom et al. 2008), and brightness (e.g., Jeffers et al. 2007) maps of stellar surface. All these studies implicitly assumed that the LSD profile behaves similar to a real, isolated spectral line with average parameters.

The proliferation of the studies that use LSD outside its original validity range and assign certain meaning to the LSD profiles without theoretical justification or numerical tests casts doubt on some of the results obtained with this method. Few papers attempted to clarify or improve the multiline technique. Barnes (2004) studied mathematical aspects of the spectral deconvolution procedure. Sennhauser et al. (2009) attempted to improve the LSD description of the intensity spectrum by accounting for nonlinearity in blended profiles. Semel et al. (2009) and Ramírez Vélez et al. (2010) tested alternative multiline Zeeman signature methods (similar but not identical to LSD).

None of the previous studies came close to characterizing the LSD technique and testing the reliability of the LSD profile interpretation for a realistic situation of blended intensity and polarization profiles of thousands of spectral lines. This task was beyond the capabilities of a physically complete spectrum synthesis for spotted magnetic stars, which was typically limited to a few dozen spectral lines in several short wavelength intervals (e.g., Kochukhov et al. 2004). Recent progress in numerical techniques of the polarized spectrum synthesis and continuous expansion of computer resources has allowed us to overcome these limitations. In this paper we present the first comprehensive, direct numerical tests of the LSD technique, complemented with an improvement and clarification of the LSD method itself. We compute four Stokes parameter stellar spectra in a wide wavelength region, including all relevant metal absorption lines. We then apply LSD to these synthetic spectra and compare quantities inferred from the LSD profiles with the input parameters adopted for polarized spectrum synthesis. This work allows us to reach general conclusions about the validity of different applications of LSD in stellar physics.

Our paper is structured as follows. In Sect. 2 we revisit the general principle and basic assumptions of the LSD technique. Then we describe numerical implementation of the deconvolution procedure in our LSD code and consider possible improvements of the least-squares deconvolution technique. We also address the question of normalization of the LSD profiles and outline several methods of their interpretation. Section 3 is devoted to numerical tests of the LSD technique with the help of theoretical polarized spectrum synthesis. We start with a brief description of the magnetic spectrum synthesis code that we use to simulate realistic spectra in four Stokes parameters. We examine the behavior of the LSD profile shapes and of the integral quantities that can be inferred from the average profiles in different Stokes parameters (longitudinal magnetic field, equivalent width). The paper concludes with the summary of the main results of our investigation in Sect. 4.

2. Least-squares deconvolution

2.1. General principle

We consider a situation where each line in the intensity or polarization spectrum of a star can be approximately described by the same line shape, scaled by a certain factor. If we further assume that overlapping line profiles add up linearly, the entire spectrum Y(v) can be described as a sum of scaled and shifted identical profiles Z(v) Y(v)=iwiδ(vvi)Z(vi),\begin{equation} Y(v) = \sum_i w_i \delta(v-v_i) Z(v_i), \label{eq:1} \end{equation}(1)where Y is a model residual intensity, 1 − I/Ic, or normalized polarization spectrum, e.g. V/Ic. The position in the velocity space vi = cΔλi/λi is associated with a wavelength shift Δλi from the central wavelength of the ith line. The relative contribution of each spectral line is given by the weight wi.

Following Donati et al. (1997), Eq. (1) can be expressed as a convolution of the line pattern function M(v)=iwiδ(vvi)\begin{equation} M(v) = \sum_i w_i \delta(v-v_i) \end{equation}(2)and the mean profile Z(v) Y=MZ,\begin{equation} Y = M * Z, \label{eq:3} \end{equation}(3)or, equivalently, as a matrix multiplication Y=M·Z,\begin{equation} \vec{Y}=\mathbf{M} \cdot \vec{Z}, \label{eq:4} \end{equation}(4)where Y is an n-element model spectrum vector, Z is an m-element common profile spanning a certain range in velocity, and M is a n × m line pattern matrix containing information on the line positions and relative strengths. In typical applications m might be on the order of 102 or 103, while n might be on the order of 105 or 106.

The scope of the LSD technique is to solve an inverse problem corresponding to Eq. (3) or (4). Namely, to estimate the mean line profile Z for a given line pattern information M, observed spectrum Yo and associated statistical uncertainty σ. In general, this approach is justified as long as the average profile can be interpreted meaningfully in terms of useful physical quantities, and its uncertainty σZ is much smaller than the error of the input spectrum, σZ ≪ σ.

An average line profile can be also estimated by the direct superposing, weighting, and averaging a large number of short pieces of spectrum. This approach would yield results identical to LSD if all lines were free of blends. In reality, absorption lines in stellar spectra are rarely isolated. For this reason direct averaging recovers a profile that is systematically distorted by overlapping lines, whereas LSD is able to provide a clean mean profile.

Note that in its application to the Stokes I spectrum the LSD method is similar to the broadening function (BF) analysis technique developed by Rucinski (1992). The essential difference is that the BF technique starts from an unbroadened observed or synthetic template spectrum rather than a superposition of δ-functions employed by LSD. The requirement of using a realistic input template imposes certain limitations in practical applications of the BF method and does not allow a straightforward extension of this technique to the multiline polarization analysis. On the other hand, the BF method provides a more precise approximation of the intensity spectrum because it does not rely on the assumption of a linear addition of blended lines in the template spectrum.

2.2. Physical assumptions

The simplified description of the stellar spectrum adopted by LSD seems to be very coarse and is obviously invalid in some extreme cases. For instance, there is very little similarity of the spectral line profiles when the magnetic field strength is so large that individual Zeeman splitting patterns of spectral lines are resolved. But in some other cases, such as unsaturated lines in weak magnetic field, the LSD assumptions are not so bad. The goal of this section is to discuss which physical approximations correspond to the mathematical expressions employed in the LSD method and to qualitatively estimate the validity range of these assumptions.

2.2.1. Intensity

Let us start from the assumption of the line profile similarity in non-magnetic case. It is known that if the lines are unsaturated, the local residual intensity profile emerging from a stellar atmosphere is proportional to the line absorption coefficient κ at a certain depth 1XI(λ)/XcIκ(λ)\begin{equation} 1 - X^I_{\ell}(\lambda)/X^I_{\rm c} \propto \kappa_\ell(\lambda) \label{eq:5} \end{equation}(5)and, therefore, can be represented as an average local profile $Z^I_{\rm loc}$ scaled in depth by the corresponding central line depression dloc and in width by the wavelength λ1XI(v)/XcI=dlocZlocI(v).\begin{equation} 1- X^I_{\ell}(v)/X^I_{\rm c}= d_{\rm loc} Z^I_{\rm loc} (v). \end{equation}(6)Thus, for LSD to be applicable to the local Stokes I spectrum XI, spectral lines must all have a similar shape of the absorption coefficient κand be relatively weak. The former condition suggests that the multiline technique should avoid spectral features with an unusual line shape, such as the H i and He ii lines in hot stars or metal lines exhibiting strong damping wings in cool stars.

thumbnail Fig. 1

Discrepancy between scaled profile of the weak Fe i spectral line and detailed spectrum synthesis calculation for the line of given central depth. The discrepancy is characterized with the standard deviation (solid line) and maximum difference (dashed line). Results are shown for an unbroadened spectrum (circles) and for the resolving power R = 60000 (squares).

thumbnail Fig. 2

Same as Fig. 1 for the discrepancy between linearly added profiles of two identical Fe i lines of a given central depth and detailed spectrum synthesis calculation.

A simple assessment of the validity of the line shape self-similarity condition can be obtained by considering realistic theoretical profiles of typical spectral lines of a different strength. With the spectrum synthesis technique described in more detail below (Sect. 3.1), we calculated local profiles of fictitious Fe i line with representative parameters and oscillator strength adjusted to yield central depths from 5% to 90% of the continuum intensity. The discrepancy between the real line profile and a scaled version of the weakest line is illustrated in Fig. 1 for an infinite resolving power and for R = 60000. Keeping in mind the typical observational uncertainty of  ~10-2 of the modern echelle spectra of bright stars, one can conclude that an identical line shape assumption of the LSD of Stokes I is appropriate only for lines weaker than  ≈40%. These results were obtained with a model atmosphere typical of a mid-A star (Teff = 9000 K, log g = 4.0), but a calculation with a solar model atmosphere yielded very similar results.

An analogous calculation can give us an idea about the accuracy of the linear addition of the blend components. This approximation is evidently valid for the spectral lines described by Eq. (5), but it becomes increasingly unrealistic for stronger lines. Figure 2 illustrates the discrepancy between detailed spectrum synthesis of the blend consisting of two identical Fe i lines with a given strength and simple arithmetic addition of the line depressions corresponding to the individual blend components. This figure shows that the accuracy of the linear line-adding remains at the level of  ≤10-2 if the residual intensity of the blend components is  ≲20%.

Until now we were examining the behavior of the local intensity profiles which, of course, are not directly observable in real stars. In reality, the LSD method approximates the disk-integrated stellar spectra. Integration over all points M on the visible stellar disk takes into account the distribution of the continuum brightness bM and rotational Doppler shift vM1I(v)/Ic=SbMdlocZlocI(M,vvM)dSdZI(v).\begin{equation} 1-I(v)/I_{\rm c} = \int_S b_M d_{\rm loc} Z^I_{\rm loc} (M,v-v_M)\mathrm{d}S \approx {\rm d} Z^I (v). \end{equation}(7)Here d is the line depth in the disk-integrated spectrum and the second equality is approximate because we have assumed that the center-to-limb variation of the normalized local line profiles of all lines can be described by the same linear law, independent of the wavelength and atomic line parameters. This assumption is not a particularly restrictive one for the majority of normal stars. However, one can find examples, such as the spectra of rapidly rotating early-type stars, where the line-to-line difference in the center-to-limb variation is emphasized by an inhomogeneous temperature distribution and can be readily detected in the stellar flux spectrum (Takeda et al. 2008).

2.2.2. Polarization

The characteristic splitting of the Zeeman components of a spectral line is ΔλB=λc2e0B4πmec2,\begin{equation} \Delta\lambda_{\rm B} = \frac{\lambda_{\rm c}^2 e_0 B}{4\pi m_{\rm e} c^2}, \end{equation}(8)where λc is the wavelength of the unperturbed line, B is the local field strength, and the other variables have their usual meaning. When the magnetic splitting is much smaller than the intrinsic width of the spectral lines determined by the thermal Doppler broadening ΔλD, one can derive approximate expressions relating intensity (Stokes I) with the Stokes parameters characterizing circular (Stokes V) and linear (Stokes QU) polarization (e.g., Landi Degl’Innocenti & Landolfi 2004).

In the weak field limit, formally defined by the condition ΔλB ≪ ΔλD, any spectral line obeys V(λ)gΔλBΔλD∂I∂λ·\begin{equation} V(\lambda) \propto \gbar \frac{\Delta\lambda_{\rm B}}{\Delta\lambda_{\rm D}} \frac{\partial I}{\partial\lambda}\cdot \end{equation}(9)The effective Landé factor $\gbar$ entering this expression is given by g=12(g1+g2)+14(g1g2)r,\begin{equation} \gbar = \frac{1}{2} (g_1 + g_2) + \frac{1}{4} (g_1 - g_2) r, \end{equation}(10)where r=J1(J1+1)J2(J2+1).\begin{equation} r = J_1 (J_1 + 1) - J_2 (J_2 + 1). \end{equation}(11)This relation between Stokes V and the first derivative of Stokes I is valid for lines of any strength. The corresponding weak-field relation for the linear polarization, Q,UG(ΔλBΔλD)22Iλ2\begin{equation} Q, U \propto \Gbar \left(\frac{\Delta\lambda_{\rm B}}{\Delta\lambda_{\rm D}} \right)^2 \frac{\partial^2 I}{\partial\lambda^2} \end{equation}(12)with G=g2180(g1g2)2(16s7r24)\begin{equation} \Gbar = \gbar^2 - \frac{1}{80} (g_1 - g_2)^2 (16 s - 7 r^2 - 4) \end{equation}(13)and s=J1(J1+1)+J2(J2+1),\begin{equation} s = J_1 (J_1 + 1) + J_2 (J_2 + 1), \end{equation}(14)is derived using a set of more restrictive assumptions (see Landi Degl’Innocenti & Landolfi 2004), essentially equivalent to the weak line approximation of Sect. 2.2.1.

Following the same arguments as given above for the transformation from the local to disk-integrated intensity spectra and taking into account that ΔλBλD ~ λc, we conclude that the disk-integrated Stokes V profiles can be represented by a common profile scaled by a factor $w_V = d \lambda_{\rm c} \gbar$: V(v)/IcwVZV(v).\begin{equation} V(v)/I_{\rm c} \approx w_V Z^V(v). \label{vsim} \end{equation}(15)The linear polarization line shapes are approximated with Q(v)/IcwQZQ(v),\begin{equation} Q(v)/I_{\rm c} \approx w_Q Z^Q(v), \label{qsim} \end{equation}(16)where the linear polarization line weight $w_Q=d \lambda^2_{\rm c} \Gbar$.

Wade et al. (2000b) established a similar relation for the scaling of the linear polarization profiles, but they used $\gbar^2$ instead of $\Gbar$ in the line weight wQ. This is equivalent to assuming that all spectral lines have a simple triplet splitting pattern. In general, $\Gbar < \gbar^2$ for the anomalous Zeeman splitting, and sometimes $\Gbar < 0$. In Sect. 3 we demonstrate that our generalization of the LSD linear polarization profile scaling factor yields a better approximation of the Stokes parameter spectra obtained with detailed spectrum synthesis calculations.

We emphasize that the self-similarity of the polarization profiles asserted by Eqs. (15) and (16) is derived assuming both the weak field regime for the magnetic splitting and the weak line approximation for the line formation (implicitly for Stokes V and explicitly for Stokes QU). The validity of the second assumption was assessed in Sect. 2.2.1. On the other hand, the weak field approximation does not have a well-defined validity range. Most authors agree that it is fairly accurate only for the magnetic field strengths below  ~1 kG. However, this approximation is also widely used for the LSD analysis of multi-kG fields of Ap stars (Wade et al. 2000a).

We suggest that it makes little practical sense to assign a general “validity range” to the LSD polarization profiles and quantities derived from them. Instead we aim to quantify the LSD profile behavior numerically and assess the robustness of their interpretation in the context of specific applications, taking into consideration the quality of observational data.

2.3. Numerical implementation

We follow Donati et al. (1997) in representing the LSD model spectrum as a matrix multiplication described by Eq. (4). We use linear interpolation to project the mean profile Z(v) onto an arbitrary wavelength grid of observations. Then a spectral line with a weight wl and central wavelength λl contributes along a bidiagonal of the line mask matrix MMi,j=wl(vj+1vi)/(vj+1vj)Mi,j+1=wl(vivj)/(vj+1vj)\begin{equation} \begin{array}{lcl} M_{i,j} & = & w_l (v_{j+1} - v_i) / (v_{j+1} - v_j) \\ M_{i,j+1} & = & w_l (v_{i} - v_j) / (v_{j+1} - v_j) \end{array} \end{equation}(17)with vi=c(λiλl)/λl and vjvivj+1.\begin{equation} v_i = c (\lambda_i-\lambda_{\rm l})/\lambda_{\rm l} \mathrm{~and~} v_j \le v_i \le v_{j+1}. \end{equation}(18)Here index i corresponds to the wavelength space of observations, whereas index j runs over all velocity points of the LSD profile.

The problem of finding the best-fitting mean profile Z(v) for a given line mask M and observations Yo is equivalent to minimizing the χ2 function χ2=(YoM·Z)T·S2·(YoM·Z)min,\begin{equation} \chi^2 = \left(\vec{Y}^{\rm o} - \mathbf{M} \cdot \vec{Z}\right)^{\rm T} \cdot \mathbf{S}^2 \cdot \left(\vec{Y}^{\rm o} - \mathbf{M} \cdot \vec{Z}\right) \to \mathrm{min}, \label{eq:lsq} \end{equation}(19)where S is the square diagonal matrix containing inverse variance, Sii = 1/σi, for individual pixels in the observed spectrum.

Since the model describing observations is linear, the least-squares solution of the χ2 problem formulated in Eq. (19) is given by Z=(MT·S2·M)-1·MT·S2·Yo.\begin{equation} \vec{Z} = (\mathbf{M}^{\rm T} \cdot \mathbf{S}^2 \cdot \mathbf{M})^{-1} \cdot \mathbf{M}^{\rm T} \cdot \mathbf{S}^2 \cdot \vec{Y}^{\rm o}. \label{eq:lsd} \end{equation}(20)The MT·S2·Yo term in Eq. (20) represents a weighted cross-correlation between the line mask and the observed spectrum. The left-hand part is the inverse of autocorrelation matrix MT·S2·M, which effectively deconvolves the cross-correlation vector and provides formal uncertainty estimates of the LSD profile through the diagonal elements of (MT·S2·M)-1.

We have implemented the numerical technique described above, along with the improvements related to the linear polarization treatment (Sect. 2.2.2), multiple mean profile analysis (Sect. 2.4.1), and regularized deconvolution (Sect. 2.4.2), in an improved least-squares deconvolution (iLSD) Fortran code. On input it reads intensity or polarization observations and the corresponding error bars. Several sets of line weights are defined explicitly in another input file. Then, the code fills the line pattern matrix M for a prescribed mean profile velocity grid and evaluates Z(v) using Eq. (20). The inverse of the autocorrelation matrix is calculated with the help of LU-decomposition (Press et al. 1992). The error bars of the resulting LSD profile are scaled to ensure that the reduced chi-square is equal to 1. In our implementation of the LSD technique we consider only those pixels of the observed spectrum that contain the contribution of at least one spectral line.

As discussed in Sect. 2.2.1, the coarse LSD model spectrum calculated with Eq. (4) significantly overestimates the intensity of strong blends, sometimes leading to unphysical results. Donati et al. (1997) mention that they ensure that “the sum of normalized central depths over nearby lines never exceeds 1”. However, it is not clear how this constraint can be implemented within the linear LSD approach. G. Wade (priv. comm.) informs us that this modification is not used in the practical applications of Donati’s LSD code. Thus, we also solve the least-squares problem defined by Eq. (19) without imposing any additional constraints.

2.4. Improvements of deconvolution technique

2.4.1. Multiprofile LSD

A straightforward generalization of the single-profile LSD technique can be obtained by postulating that each line in the stellar spectrum is represented by a superposition of N different scaled mean profiles: Y=k=1NMk·Zk=M·Z.\begin{equation} \vec{Y}=\sum_{k=1}^N \mathbf{M}_k \cdot \vec{Z}_k = \mathbf{M}^\prime \cdot \vec{Z}^\prime. \end{equation}(21)In that case one can still use the matrix formulation of the LSD technique, but with a composite line pattern matrix M′ with the dimensions n × (m·N). The matrix M′ is formed by concatenating matrices Mk that have the same structure, but a different magnitude of the non-zero elements corresponding to N different sets of line weights. All N average profiles, concatenated in the composite profile Z′, are reconstructed simultaneously with the matrix inversion technique described in Sect. 2.3.

There are several advantages of using multiprofile LSD. One can, to some extent, account for the line shape difference between weak and strong lines or recover several mean profiles if the stellar spectrum contains two or more systems of lines formed under sufficiently different physical conditions (e.g., a composite spectrum of a binary star).

In the studies of magnetic chemically peculiar stars, which often exhibit diverse distributions of chemical elements, one has to consider LSD profiles of individual elements (Wade et al. 2000b; Folsom et al. 2008). Using conventional single-profile LSD for a given element often introduces significant distortions in the wings of the corresponding mean profile owing to neglected blending by lines of other elements. In contrast, with the multiprofile least-squares deconvolution we are able to account for the background lines blending the element of interest. We have implemented multiprofile LSD in our iLSD code and apply it extensively in the numerical tests presented in Sect. 3.

2.4.2. Regularized deconvolution

With the multiline technique described by Eq. (20) one derives the mean profile in two steps. First, a cross-correlation function (CCF) is obtained and, second, it is multiplied by an inverse of the autocorrelation matrix to remove the spurious pattern arising from possible regularities in the line distribution. However, the latter operation suffers from a well-known problem of noise amplification, which is common to all applications of direct deconvolution. In the present case the second step systematically increases the noise in the mean profile compared to CCF independently of the numerical technique used to invert the autocorrelation matrix. This is illustrated in Fig. 3, which shows the reconstruction of the mean profile with a typical Stokes V signature from 500 superimposed, scaled copies of this profile that are randomly distributed in wavelength. Random noise was added to simulate observational data with a signal-to-noise ratio of 15.

thumbnail Fig. 3

Top panel: comparison between the usual LSD profile, the scaled cross-correlation function and the LSD profile reconstructed using regularization. These profiles are obtained from a simulated S/N = 15 spectrum, containing 500 randomly distributed scaled lines with a characteristic Stokes V S-shaped signature. Profiles are shifted vertically for display purpose. The indicated signal-to-noise ratio is inferred from the pixel scatter in the regions on both sides of the profile. Bottom panel: the difference between LSD profiles and the corresponding CCF.

A simple modification of the LSD procedure allows circumventing the profile quality degradation associated with deconvolution. It also allows us to decouple the mean profile noise characteristics from the step size of the velocity grid on which the LSD profile is reconstructed. We modify Eq. (19) to require χ2+Λℛmin,\begin{equation} \chi^2 + \Lambda \mathcal{R} \to \mathrm{min}, \end{equation}(22)where ℛ is the regularization function, penalizing large pixel-to-pixel variations of the LSD profile, and Λ is the corresponding regularization parameter. The first-order Tikhonov regularization, =Λ2i[(ZiZi1)2+(ZiZi+1)2],\begin{equation} \mathcal{R} = \frac{\displaystyle \Lambda}{\displaystyle 2}\sum_i \left[ (Z_i - Z_{i-1})^2 + (Z_i - Z_{i+1})^2 \right], \end{equation}(23)which minimizes the first line profile derivatives, is a convenient choice of regularization for this problem. It can be implemented in the LSD matrix algorithm by modifying Eq. (20) as follows Z=(MT·S2·M+ΛR)-1·MT·S2·Yo,\begin{equation} \vec{Z} = (\mathbf{M}^{\rm T} \cdot \mathbf{S}^2 \cdot \mathbf{M} + \Lambda \mathbf{R})^{-1} \cdot \mathbf{M}^{\rm T} \cdot \mathbf{S}^2 \cdot \vec{Y}^{\rm o}, \label{eq:rlsd} \end{equation}(24)where the tri-diagonal m × m matrix R is given by R = ( 1 -1 0 · · · -1 2 -1 · · · . . . . . . . . . · · · -1 2 -1 · · · 0 -1 1 ) . \begin{equation} \mathbf{R} = \left(\begin{array}{rrrr} 1 & -1 & 0 & \cdots \\ -1 & 2 & -1 & \cdots \\ \vdots & \multicolumn{2}{c}{\ddots} & \vdots \\ \cdots & -1 & 2 & -1 \\ \cdots & 0 & -1 & 1 \\ \end{array}\right). \end{equation}(25)Figure 3 demonstrates that with an appropriate choice of the regularization parameter one can deconvolve the cross-correlation function without degrading its noise properties. In this particular example the regularized deconvolution yields roughly 50% gain in S/N compared to the standard LSD technique.

The least-squares deconvolution constrained by the Tikhonov regularization of the mean profile is implemented in our code, but is not applied in the numerical experiments of Sect. 3 because those are conducted for the noise-free spectra.

2.4.3. Nonlinear deconvolution

thumbnail Fig. 4

Comparison of the LSD (dashed line) and NDD (dash-dotted line) description of blended lines with the detailed radiative transfer (RT) calculation (solid line). a) Two identical unresolved lines with overlapping absorption coefficients. b) Two resolved lines that overlap because of the rotational broadening corresponding to vesini = 10 km s-1. c) Same as b), but the overlap is caused by the Gaussian instrumental broadening with FHWM = 0.17 Å.

Several studies suggested modifications of the LSD method that would overcome its most important limitation: the assumption of linear addition of the overlapping lines, which leads to a poor description of the Stokes I spectrum. The simplest way to reduce the discrepancy between the coarse LSD description and real intensity spectrum is to adjust not only the mean profile, but also the line strengths themselves, as done by Reiners & Schmitt (2003) in their “physical least-squares deconvolution”. This enhancement produces a superficially better fit to Stokes I. However, the mathematical formulation and numerical implementation of this method is somewhat ambiguous because one cannot determine the amplitude of the mean profile and line strengths in the LSD mask at the same time. One can also encounter uniqueness problems when fitting intensities for a group of very close lines. In addition, this technique cannot be easily extended to polarization analysis. In general, it yields the adjusted line strengths that are valid for Stokes I but may be inappropriate for other Stokes parameters.

Recognizing that the main limitation of the classical LSD is its primitive treatment of blends, Sennhauser et al. (2009) developed “nonlinear deconvolution with deblending” (NDD) technique in which the overlapping lines are added nonlinearly, using a formula derived from the Minnaert (1935) approximation of the line shapes in the solar spectrum. Although Sennhauser et al. (2009) argued that NDD is superior to LSD in the description of Stokes I, in their method they failed to distinguish two different types of blending present in the stellar spectrum. Very close spectral lines with overlapping absorption coefficients indeed add up nonlinearly. But the residual intensities of separated lines whose profiles overlap because of rotational, macroturbulent or instrumental broadening are simply added together, just like the standard LSD assumes. In Fig. 4 we illustrate the difference between NDD and LSD description of blends in these two cases. Evidently the NDD method does not always yield a better approximation of the blended lines and in many cases appears to be inferior to LSD.

We agree that a nonlinear treatment of overlapping lines is a promising direction for improving LSD. However, one has to somehow distinguish the linear and nonlinear blending. One can envisage a successor to LSD that uses a method similar to NDD for the calculation of an unbroadened template spectrum and then uses the broadening function approach (Rucinski 1992) to account for various broadening effects that can be treated as convolution. We postpone the development and implementation of this two-stage multiline technique to future papers.

2.5. Normalization of the LSD profiles

A mathematical description of the stellar spectra by the LSD technique does not allow one to determine the mean profile amplitude independently of the scaling of weights in the line mask M. Observations in each Stokes parameter constrain the product of the corresponding line weight and the LSD profile. Consequently, the mean profile amplitude depends on the arbitrary normalization of the line weights. This normalization determines parameters that should be assigned to the resulting mean profile. For example, the general form of the LSD line weights is wV=gd0λ0g0\begin{equation} w_V = \frac{d \lambda \gbar}{d_0 \lambda_0 \gbar_0} \label{wgtv} \end{equation}(26)for Stokes V and wQU=dλ2Gd0λ02G0\begin{equation} w_{QU} = \frac{d \lambda^2 \Gbar}{d_0 \lambda^2_0 \Gbar_0} \end{equation}(27)for linear polarization.

Normalization by the parameters $f_0=d_0, \lambda_0, \gbar_0$ and $\Gbar_0$ can be equivalently applied to the input LSD weights or to the resulting mean profiles. According to Sect. 4.1 of their paper, Donati et al. (1997) have arbitrarily chosen λ0 = 500 nm, d0 = 1 and $\gbar_0=1$. In other words, their reconstructed LSD profiles should correspond to a line with both the central intensity and the effective Landé factor set to unity. Most other studies employing the LSD technique neglected to explicitly describe the adopted normalization of the LSD weights, thus obscuring the interpretation of their published mean profiles.

On the other hand, many LSD-based investigations quote the mean line parameters, usually computed taking into account the statistical uncertainty of the observed spectrum: f=lfl/σl2l1/σl2,\begin{equation} \langle f \rangle = \frac{\sum_l f_l / \sigma^2_l}{\sum_l 1 / \sigma^2_l}, \label{eq:av1} \end{equation}(28)where fl is the parameter that is averaged and σl is an estimate of the observational uncertainty at the location of line l. Occasionally (e.g., Barnes et al. 2000), the averaging takes into account the line weight itself fw=lflwl/σl2lwl/σl2·\begin{equation} \langle f \rangle_{w} = \frac{\sum_l f_l w_l/ \sigma^2_l}{\sum_l w_l / \sigma^2_l}\cdot \label{eq:av2} \end{equation}(29)Compared to Eq. (28), this method yields systematically different average parameters because fl and wl are correlated. For example, for a sample of 8864 lines used for the numerical experiments in Sect. 3 of our paper we find $\langle \gbar \rangle = 1.21$ and $\langle \gbar \rangle_{w} = 1.41$ for the weight wV computed with Eq. (26). Most LSD studies do not comment on the averaging method they use.

Note that no matter which expression is adopted for computing the average line parameters, these quantities characterize only certain statistical properties of a set of lines included in the LSD mask, but should not be assigned to the LSD profiles themselves as implied by Donati et al. (1997) and many subsequent studies. The parameters corresponding to the LSD profiles are determined uniquely by the arbitrary normalization constants f0, which are not necessarily the same as the average parameters computed with Eqs. (28) and (29), unless a special effort is made to ensure f0 =  ⟨ f ⟩  or f0 =  ⟨ f ⟩ w, as done by some LSD studies (V. Petit, priv. comm.). Of course, the latter approach becomes advantageous when one uses a spectrum synthesis code, trying to interpret the LSD profiles as Stokes parameters of a real spectral line (see Sect. 3.5).

The confusion between the average line parameters and the LSD weight normalization persists through many papers and has possibly led to erroneous interpretations of the mean profiles in some of these publications. We recommend that studies employing the LSD method should follow simple guidelines in order to better document application of this technique and make their results transparent and reproducible:

  • provide values of the parameters d 0, λ 0, $\gbar_0$, and $\Gbar_0$ (if linear polarization is involved) adopted for normalizing the LSD weights or renormalizing the LSD profiles;

  • clarify which expression is used to compute the average line parameters;

  • most importantly, explain which meaning is assigned to the average quantities and state whether or not the presented LSD profiles are rescaled to ensure f0 =  ⟨ f ⟩.

2.6. Interpretation of the LSD profiles

The average intensity and polarization profiles provided by the LSD technique can be interpreted with various assumptions and levels of sophistication. In addition to merely using LSD as a qualitative magnetic field detection tool (Donati et al. 1997), we can distinguish the following main directions of utilizing them in the stellar physics studies:

  • 1.

    One can infer characteristics of a star and its magnetic fieldthrough a direct comparison of the LSD profiles obtained self-consistently (i.e. using the same line lists and weights) fromobservations and from the detailed theoretical spectrum synthe-sis of the entire stellar flux spectrum in several Stokes parameters.Then the LSD profiles are used only for the inter-comparisonof theory and observations but are not assigned any particularphysical meaning. Obviously, this is the most robust methodof treating the output of the least-squares deconvolution, but itis still far beyond the capabilities of the current computationalresources and thus hasn’t been applied in any real study.

  • 2.

    Taking into account that the LSD procedure is linear, we can use the theoretical spectrum synthesis of the entire stellar intensity spectrum to derive local LSD profiles for a range of temperatures, chemical abundances, magnetic fields strengths, and orientations. Interpolating within this theoretical local LSD line profile table we can obtain the model LSD flux profiles in one or several Stokes parameters and compare them with the corresponding LSD spectra inferred from observations. This analysis technique has not been implemented yet. However, some studies employed a simpler version of this method where the LSD profiles obtained from the observed flux spectra of sharp-lined benchmark stars of different Teff are assumed to represent local profiles corresponding to different regions on the surface of spotted rapidly rotating active stars (Barnes et al. 2000). This approach neglects the variation of line profiles with the limb angle and typically relies on a linear interpolation between only two template stars. An extension to the circular polarization LSD analysis is achieved within the framework of the weak field approximation, adopting derivatives of the LSD Stokes I profiles of sharp-lined stars as the local circular polarization spectrum (Donati & Collier Cameron 1997).

  • 3.

    Assuming that the LSD profiles behave as a real spectral line with average parameters, one can interpret the LSD spectra with standard theoretical tools. This approach is frequently used in recent Doppler imaging studies of the stellar surface structure and magnetic fields (e.g., Donati et al. 2008; Morin et al. 2008; Folsom et al. 2008).

  • 4.

    Finally, we can limit ourselves to the analysis of moments of LSD profiles that are assumed to behave similar to the corresponding moments of real spectral lines. In particular,

    • the zeroth-order moment of Stokes I, equivalent width Wv=d0ZIdv,\begin{equation} W_v = d_0 \int Z^I \mathrm{d}v, \end{equation}(30)can be used to measure metallicity or abundances of individual elements. Note that in the expression for Wv the integral of ZI is scaled by the central line intensity d0 adopted for the normalization of the Stokes I LSD weights;

    • the first-order moment of Stokes V provides a measure of the mean longitudinal magnetic field B z = 7.145 × 10 6 v Z V d v λ 0 g 0 Z I d v , \begin{equation} \langle B_{\rm z} \rangle = - 7.145\times 10^6 \frac{\int v Z^V \mathrm{d}v}{\lambda_0 \gbar_0 \int Z^I \mathrm{d}v}, \label{bz} \end{equation}(31) where the magnetic field is measured in Gauss, the wavelength in Å, and velocity in km s -1. The wavelength λ 0 and effective Landé factor $\gbar_0$ appearing in this expression represent the arbitrary quantities adopted for the normalization of the Stokes V LSD weights (see Eq. (26)), but not the mean line parameters, as often erroneously stated in LSD papers ( Donati et al. 1997 ; Wade et al. 2000a );

    • the normalized equivalent width of the LSD Stokes Q and U LSD profiles PQ=wQUZQdvZIdv  and  PU=wQUZUdvZIdv,\begin{equation} P_Q = \frac{\langle w_{QU} \rangle \int Z^Q \mathrm{d}v}{\int Z^I \mathrm{d}v} \mathrm{~~and~~} P_U = \frac{\langle w_{QU} \rangle \int Z^U \mathrm{d}v}{\int Z^I \mathrm{d}v}, \end{equation}(32)where  ⟨ wQU ⟩  is the average Stokes QU LSD weight, characterizes the net linear polarization (Wade et al. 2000a) and has a similar information content as the broad-band linear polarization measured with the help of photopolarimetric devices (Leroy 1995).

It is beyond the scope of this paper to explore all these methods of interpreting the LSD profiles. The numerical experiments presented below are mainly focused on testing the third approach and several aspects of the fourth approach.

3. Numerical tests of the LSD technique

3.1. Polarized spectrum synthesis

thumbnail Fig. 5

Small segment of the normalized local four Stokes parameter spectra calculated with synmast for the disk center (μ = 1), field strength B = 5000 G and magnetic vector orientation γ = 45°, χ = 0°. Linear and circular polarization profiles are shifted vertically for display purpose. Thin vertical bars plotted over the Stokes I spectrum indicate absorption lines deeper than 10% in the absence of magnetic field.

We use the magnetic spectrum synthesis code synmast to calculate four Stokes parameter stellar spectra covering a large part of the optical wavelength range. synmast is a further development of the synthmag code, described in detail by Piskunov (1999) and Kochukhov (2007). We refer the readers to these papers for an in-depth discussion of the numerical techniques and input physics implemented in the code. In summary, we solve numerically the polarized radiative transfer equation for a given stellar model atmosphere and homogeneous or vertically stratified chemical abundances assuming local thermodynamical equilibrium. The code includes an updated version of the molecular equilibrium solver developed by Valenti et al. (1998), allowing us to treat Zeeman and partial Paschen-Back splitting in both atomic and molecular absorption lines.

Previous studies extensively used synthmag calculations of individual spectral lines or blends in narrow wavelength intervals to investigate the magnetic field, chemical composition, and stratification in A and B chemically peculiar stars (e.g., Kochukhov 2003, 2006; Ryabchikova et al. 2006) and to model magnetic fields of T Tauri stars (Johns-Krull 2007) and active M dwarfs (Johns-Krull & Valenti 1996; Kochukhov et al. 2009). In the present study we have extended the capabilities of the code, adapting it for massive polarized spectrum synthesis of thousands of spectral lines.

The output of synmast is a set of local Stokes IQUV spectra for a given magnetic field vector1 and the angle of view from the normal to the surface (μ ≡ cosθ). These spectra can be combined with appropriate weights and Doppler shifts to simulate stellar flux spectra for a simple homogeneous magnetic field distribution (Kochukhov 2007) or for an arbitrary prescribed map of surface structures (Piskunov & Kochukhov 2002). However, because each of these flux spectra represents a linear superposition of the local intensity spectra computed for different magnetic field parameters and the LSD procedure behaves as a linear operator, it is sufficient to limit the investigation to the local, disk-center Stokes parameters that are calculated for a sufficiently broad range of the field strengths and inclinations. This analysis should provide a basic but still rather general assessment of the performance of the LSD technique without digressing to the analysis of particular surface magnetic field configurations.

For the magnetic and chemical abundance LSD experiments presented in this section we considered an atlas9 (Kurucz 1993) model atmosphere of the star with Teff = 9000 K and log g = 4.0. We adopted solar abundances for all elements except Cr and Fe. The concentration of these two species was enhanced by 2 and 1 dex, respectively, which is typical of the magnetic chemically peculiar stars in this temperature range (Ryabchikova 2005). We used the VALD database (Kupka et al. 1999) to compile a list of 8864 metal lines with the residual intensity exceeding 1% of the continuum in the 4000–6000 Å wavelength region. The broad hydrogen Balmer lines and weak He i features were excluded from the line list. The Zeeman splitting patterns required for the polarized spectrum synthesis and calculation of the LSD weights were obtained using Landé factors provided by VALD when available and estimated using the LS-coupling scheme otherwise.

Theoretical spectra in four Stokes parameters were calculated on the adaptive wavelength grid (see Kochukhov 2007) and then rebinned to an equidistant velocity spacing of 0.62 km s-1 and convolved with Gaussian profiles of FWHM = 2.5 km s-1. This sampling and resolution corresponds to the spectra provided by the HARPSpol instrument (Snik et al. 2008) at the ESO 3.6-m telescope, which is the highest resolution stellar spectropolarimeter currently in operation. A few additional tests were done with the reduced resolving power of 65 000 (FWHM = 4.6 km s-1), corresponding to the polarization spectra from the ESPaDOnS and NARVAL instruments.

Figure 5 shows a small segment of the local four Stokes parameter profiles calculated with the help of synmast.

3.2. Self-similarity of spectral lines

First we examine the hypothesis of self-similarity of the Stokes profiles of different spectral lines, which is a fundamental assumption made by the LSD technique. We have selected all Fe i and Fe ii lines from the original line list, removing a few iron lines with a very weak magnetic field sensitivity. The resulting 1652 lines of diverse strengths and Zeeman patterns were redistributed in wavelength to avoid blending. This line list was employed for the calculation of a grid of local Stokes parameter spectra for the field strength from 0.1 to 5 kG and the field inclination from 0 to 90°. The spectra were then convolved with the Gaussian instrumental profiles.

A quantitative measure of the line self-similarity was obtained by computing the standard deviation of the line profiles interpolated onto a common velocity grid and divided by the appropriate LSD weights. We tested the standard LSD weights discussed in Sect. 2 as well as alternative weights obtained by substituting the central line depth d with the equivalent width expressed in velocity units, Wv.

The standard deviation of the rescaled Stokes profiles is plotted as a function of the field strength in Fig. 6. This figure shows results for two different resolutions. Clearly for Stokes I the line-self similarity assumption is a poor one and might be appropriate only for a comparatively low S/N of the observational data. Scaling by the equivalent width instead of the central line depth evidently gives better results. This reflects that strong lines are also systematically broader and therefore their central intensity is less affected by additional broadening. Based on this test we recommend to use the equivalent width rather than the line depth as an LSD weight in the applications concerned with Stokes I alone. However, the relative strength of the polarization signatures is described reasonably well by both d and Wv.

thumbnail Fig. 6

Standard deviation of the scaled Stokes I, V and Q profiles as a function of the field strength for two different values of the field inclination γ (45°, 90° for I and Q and 45°, 90° for V). Results for the two resolving powers are shown with red and blue curves. The solid, dashed, and dotted lines correspond to the standard deviations obtained using different line scaling factors.

thumbnail Fig. 7

Mean scaled Stokes I, V, and Q signatures for the Fe lines of different central intensity. These profiles are obtained from the spectra computed with B = 100 G and an inclination angle γ = 0° (Stokes I and V) and γ = 90° (Stokes Q).

As is evident from Fig. 6, the assumption of the similarity of the line profile shapes is a reasonable one for Stokes V if the field strength does not exceed  ~2 kG and the observational noise is  ≥ 5 × 10-3 (which corresponds to S/N = 200). Obviously, as the resolution and S/N increases, we see more and more difference between individual spectral lines. The diversity of the linear polarization profiles is far greater than that of Stokes V. Even for the field strength of  ~1 kG profiles noticeably differ from each other, and this difference rapidly increases with the field strength. Figure 6 shows that a definite reduction of the scatter between the scaled Stokes Q profiles is achieved by using $\Gbar$ instead of $\gbar^2$ in the corresponding line weight.

The reason for the greater diversity of the Stokes Q line profiles lies in their sensitivity to the line strength. As emphasized in Sect. 2.2.2, the linear polarization profiles are expected to be similar only when both the weak-field and the weak-line assumptions are satisfied, while for circular polarization only the former approximation is directly necessary. It is instructive to illustrate this by examining the average Stokes profiles for a very low field strength, when the weak-field approximation is valid. Figure 7 shows that in this situation there is some difference between the Stokes I line profile shapes of the weak and strong lines (as already discussed above) and a considerable difference between the shapes of Q profiles. The shape of the average linear polarization signature changes smoothly with the line strength, suggesting that the latter is the primary reason for the systematic discrepancy of the individual Stokes Q line profiles. In contrast, the Stokes V profiles are all very similar, almost independently of the line strength. Consequently, the basic assumptions of the LSD method are fairly robust for Stokes V but are more questionable for linear polarization.

3.3. The cutoff criterium and LSD profiles of individual elements

In the second set of numerical experiments, conducted for the local non-magnetic spectrum, we investigated the effect of choosing a different cutoff criterium for the selection of lines that contribute to the LSD mask. Previous studies based on the LSD technique arbitrarily applied a wide range of criteria: from a central depth of 0.1 to 0.4. We found that for our noise-free spectra increasing the cutoff leads to the downward displacement of the resulting mean profile relative to the continuum, presumably because of the combined effect of numerous weak lines that are excluded from the mask when the cutoff is too high. This continuum depression of the LSD Stokes I profiles introduces an additional uncertainty in their interpretation. In subsequent tests we include in the mask all lines deeper than 10% in the absence of magnetic field, giving us a total of 3270 usable lines.

We have also assessed the performance of our multiprofile extension of the LSD technique compared to the standard decomposition procedure. Using the non-magnetic spectrum we calculated the LSD profiles for Fe, Cr, and Ti in one case using only the lines of each individual element and in another case accounting also for all other lines with the help of the second, “background” LSD profile. Figure 8 presents a comparison of the LSD profiles for the three elements obtained with these two varieties of the multiline technique. One can see that our multiprofile version of LSD is able to recover more reliable mean line profiles, free of the distortions caused by blends and without the spurious continuum offset. This improvement is most prominent for Ti, which has only 106 useful lines in our synthetic spectrum. We therefore suggest the use of the multiprofile LSD in studies concerned with the analysis of small groups of lines present in stellar spectra.

thumbnail Fig. 8

Stokes I LSD profiles of individual elements reconstructed with the standard LSD technique (solid lines) and multiprofile LSD (dashed lines).

3.4. Longitudinal magnetic field

thumbnail Fig. 9

Relative error of the longitudinal magnetic field Bz determined from the LSD Stokes V profiles. The lines of different colors show results for different inclinations of the magnetic field vector, while the solid and dashed lines illustrate the effect of choosing different integration limits.

In the next series of tests we studied how accurately the line of sight magnetic field component Bz (longitudinal field) can be recovered from the LSD Stokes V profiles. We computed a set of 30 local polarized spectra, including spectral lines of all chemical elements, for a grid of magnetic field strengths (B = 100, 200, 500, 1000, 2000, 5000 G) and the angles between the field vector and the line of sight (γ = 0°, 22.5°, 45°, 67.5°, 90°). For each of these theoretical spectra we obtained the mean Stokes V profile and estimated the longitudinal field from its first moment, using Eq. (31).

Figure 9 illustrates the relative error of Bz as a function of the field strength and inclination. We find that the analysis of the LSD profiles recovers the true value of the longitudinal field with an accuracy of a few percent for the fields below 1 kG. At the same time, as is evident from Fig. 9, there is an uncertainty in the choice of the measurement window, resulting in another  ≈2% error of Bz.

The longitudinal field estimate becomes less accurate when the field strength exceeds 1 kG. We find that for small γ angles the LSD profile analysis overestimates the longitudinal field by up to 3%, while Bz can be underestimated by as much as 10% for the intermediate magnetic field inclinations.

We conclude that the derivation of the longitudinal magnetic field from LSD profiles appears to be quite robust but can be affected by the systematic errors of the order of a few percent. For strongly magnetic stars the longitudinal field tends to be underestimated by the LSD technique.

3.5. LSD profiles in Stokes parameters

thumbnail Fig. 10

Comparison of the LSD Stokes IQV profiles obtained from synthetic stellar spectra (symbols) with the theoretical line profiles computed for the average line parameters (lines). Different colors illustrate the results for three values of the magnetic field inclination with respect to the line of sight (0°, 45° and 90°). The four columns correspond to different magnetic field strength values (0.1, 0.2, 1 and 5 kG). The solid lines show theoretical profiles for the resolution R = 80000. The dotted lines in the Stokes I and V panels illustrate calculations for R = 120000, which was the instrumental broadening applied to the original simulated stellar spectra. The dash-dotted lines in the Stokes V and Q panels represent calculations for the equivalent Zeeman splitting pattern with widely separated σ components.

Another series of numerical experiments was carried out to answer the question whether or not the LSD Stokes parameter spectra behave as a real spectral line with respect to changes of the magnetic field strength and orientation. We derived LSD profiles from a grid of synthetic spectra covering the same parameter space as studied in Sect. 3.4. The mask adopted in the least-squares deconvolution procedure was normalized using  ⟨ λ ⟩  ≈ λ0 = 4700 Å, d0 =  ⟨ d ⟩  = 0.36 and $\gbar_0=\langle\gbar\rangle=1.22$. The resulting mean Stokes I, V and Q LSD profiles were compared with the theoretical spectra calculated for a fictitious Fe i line with the central wavelength λ = 4700 Å, an excitation potential of the lower level (3.47 eV) matching the average for this ion and a normal Zeeman triplet splitting pattern characterized by $\gbar=1.22$. The oscillator strength of the Fe i line was adjusted to reproduce the equivalent width of the Stokes I LSD profile in the absence of magnetic field.

The comparison of the LSD profiles and synthetic single-line calculations is presented in Fig. 10 for a subset of the considered magnetic field parameters. We found that even for the non-magnetic case the synthetic calculations for the resolving power R = 120000 (dotted lines in Fig. 10) do not match the LSD Stokes I line profile shape reconstructed from the full synthetic spectra having this resolution. The spectral resolution had to be decreased to approximately R = 80000 (solid lines in Fig. 10) to reproduce the weak-field LSD profiles. This is probably an effect of the extended wings of strong lines, which contribute disproportionally to the mean profile. Thus, an estimate of the macroscopic velocity fields (stellar rotation, macroturbulent velocity) using LSD profiles might be affected by a small bias, especially for cooler stars in which the strong lines with developed damping wings are considerably more important than for the Teff = 9000 K stellar model considered here.

Considering the behavior of the LSD Stokes I spectrum with the field strength, we found a fair agreement with the theoretical single-line calculations up to B ≈ 1 kG. Beyond this field strength value the lines start to exhibit partially resolved Zeeman patterns and the discrepancy between the LSD profile and its theoretical single-line approximation becomes progressively worse.

The circular polarization profiles show qualitatively the same picture as Stokes I. Below the field strength of  ~1 kG there is an excellent agreement between theoretical Stokes V line shape and the Stokes V LSD profile, provided the extra Gaussian broadening is applied to the single-line calculations. The agreement becomes poor for B ≥ 2 kG when individual Zeeman splitting patterns of spectral lines start to influence their Stokes V profiles. For strong fields, illustrated by the B = 5 kG profiles in Fig. 10, the LSD Stokes V spectra are typically broader and have a lower amplitude compared to the single-line calculations. The discrepancy between LSD profiles and single-line calculations shows no clear dependence on the field orientation.

In contrast to the encouraging weak-field behavior of the Stokes I and V, the Stokes Q single-line calculations fail in reproducing the corresponding LSD profiles for all field strengths. The shapes of the liner polarization signatures agree well for lower field strengths. But the amplitude of the LSD Stokes Q spectrum is systematically underestimated by the single-line synthesis for the fields weaker than  ~1 kG. Then, as the field increases, the single-line Stokes Q amplitude grows faster than that of the LSD profile. The two amplitudes roughly agree for B ≈ 1.5 kG and disagree in the other sense for stronger fields. This prominent field strength dependence implies that the disagreement that we revealed cannot be removed by a simple, field-strength-independent re-scaling of the LSD Stokes Q profiles.

The outcome of the calculations presented in this section suggests that in general the LSD profiles in four Stokes parameters do not behave as a single spectral line with a triplet Zeeman splitting pattern. It appears that the effective Landé factor and the line strength that successfully reproduce the LSD Stokes I and V spectra do not match the amplitude of LSD Stokes Q even for weak fields. There is also a significant systematic disagreement between the shapes of the LSD Stokes I and V profiles and single-line theoretical calculations for the field strengths above  ≈2 kG.

In reality the majority of spectral lines exhibit anomalous Zeeman splitting, which can be considerably more complicated than a pure triplet. In principle, the positions and strengths of individual components within the groups of red- and blue-shifted σ components can be manipulated to change the relative amplitude of the Stokes V and Q profiles, potentially providing a somewhat better agreement between the LSD polarization profiles and single-line calculations. For example, the dash-dotted lines in Fig. 10 illustrate the Stokes Q profiles for a splitting pattern with widely separated pairs of σ+ and σ −  components. The effective Landé factor is kept at the value of 1.22 and neither the amplitude nor the shape of Stokes V change compared to the magnetic spectrum synthesis for the triplet splitting unless the field is very strong. On the other hand, the amplitude of the Stokes Q increases, providing a better match to the LSD Stokes Q profiles for a limited field strength range. However, parameters of this splitting pattern cannot be inferred from any properties of the LSD line mask and have to be calibrated empirically for a prescribed field strength range.

3.6. Abundance determination from LSD profiles

In this part of our investigation we assess to what extent LSD profiles behave as a real spectral line with respect to changes of abundances of individual elements. Specifically, we want to find out if there exists a set of atomic parameters reproducing changes of the LSD profile with abundance if it is modeled as a single spectral line. For the Ap-star like abundances adopted for our numerical tests the spectrum is dominated by the lines of Fe and Cr. Hence we considered the effects of the abundance variation for these two elements.

Our LSD code allows to reconstruct an arbitrary number of independent LSD profiles using several masks. We took advantage of this feature in the abundance tests, reconstructing two LSD profiles: one for the element of interest and another for all other lines in the mask.

Assuming the iron abundance [Fe] = +1 dex (hereafter abundances are given in the logarithmic scale with respect to the Sun), five non-magnetic theoretical spectra were calculated for various abundances of Cr in the range from  +1 dex to  +3 dex with a step of 0.5 dex. Then the chromium abundance was kept at [Cr] = +2 dex, while the abundance of Fe was changed from 0 dex to  + 2 dex. This gave us five spectra with different Cr and five calculations with different Fe abundance, with a common spectrum for [Fe] = +1 dex and [Cr] = +2 dex. The latter spectrum was used for the selection of lines included in the LSD mask using our standard 10% cutoff criterium for the central line depth.

thumbnail Fig. 11

Dependence of the equivalent width on abundance for the LSD profiles (symbols) and theoretical profiles of Fe spectral lines (lines). Different lines illustrate the EW-abundance dependence obtained for different combinations of line parameters. Red: averaging over all Fe lines; green: averaging over Fe i lines; blue: averaging over Fe ii lines. The dashed and solid lines show results for the oscillator strength determined using harmonic and arithmetic averaging, respectively.

3.6.1. Equivalent width

The dependence of the equivalent width (EW) of the Fe LSD profile on the abundance of this element is illustrated in Fig. 11. We tried reproducing this dependence with single-line calculations using different methods of determining the parameters of the average line. Both the Fe i and Fe ii lines contribute at a similar level to our synthetic spectra and to the resulting LSD profiles. Hence one can adopt mean line parameters by averaging over the lines of particular ion or averaging over both ions. Furthermore, one can determine the mean oscillator strength using the harmonic or arithmetic average, the latter giving systematically higher value of the oscillator strength. This yields six possible combinations of ion, excitation potential, and oscillator strength. It is not clear which one should be chosen for modeling LSD profiles, hence we tested all of them. The resulting equivalent width changes with abundance are illustrated with the lines in Fig. 11. Evidently, two or three combinations of the mean line parameters give somewhat better results, but all predict much steeper slopes of the EW dependence on abundance than shown by the LSD profile.

Calculations for Cr show a very similar discrepancy and reveal the same pair of the line parameters producing a slightly better fit to the LSD EWs compared to other options.

thumbnail Fig. 12

Comparison of the Fe LSD profiles (symbols) and the profiles of theoretical spectral line (solid curve) for one of the sets of atomic parameters used in Fig. 11.

3.6.2. Line profiles

We complement the EW comparison with a more detailed investigation of the Fe LSD profiles as a function of abundance. This could potentially shed some light on the discrepancy between the LSD and expected single-line dependence on element abundance.

As shown in Fig. 12, the LSD profiles appear to be stronger than the synthetic spectrum for lower abundances and weaker, but wider, for larger abundances. These broad wings do not contribute significantly to EW, and their exclusion would only degrade even more the agreement between the LSD profile and single-line abundance behavior.

We have verified that blending of the Fe or Cr lines by the lines of other elements is not the reason for the observed abundance dependence. In particular, if we calculate the pure Fe or Cr line spectrum and de-blend all lines by shifting them in wavelength, we still get the same slope of the EW vs. abundance trend as illustrated in Fig. 11.

We conclude that weak and strong lines are combined by the LSD technique in a way that the resulting mean Stokes I profile does not show the abundance dependence of a real spectral line. This is probably because of a highly non-linear change of both the central depth and the width of stronger absorption lines with abundance variation. This suggests that deducing the absolute elemental abundances from LSD profiles is a highly non-trivial task, which can be accomplished only using LSD profile calculations from synthetic spectra similar to those presented here. Nevertheless, LSD profiles can still be used for a comparison of the element concentrations between different stars with similar fundamental parameters or different regions on the surface of the same star.

4. Conclusions

We have carried out a detailed study of the least-squares deconvolution of both intensity and polarization stellar spectra. This multiline signal-enhancing technique is widely used in a broad range of modern spectroscopic and spectropolarimetric studies, but lacks a thorough justification and was never tested using synthetic spectra. Our study fills this gap, clarifying the basic assumptions of LSD, investigating various ways to improve its numerical implementation and, finally, testing the sanity of the physical information derived from LSD spectra.

The main conclusion of our study can be summarized as follows.

  • 1.

    The basic LSD assumptions of line profile self-similarity andlinear addition of blends are satisfied only for very weak (less than20% of the continuum) absorption lines inStokes I. Similar results are obtained for linear polarization signatures, which exhibit a prominent line-strength dependence in weak fields and become quite diverse in shape owing to different Zeeman splitting patterns for  ≳ 1 kG magnetic fields. On the other hand, the LSD assumptions are appropriate for the majority of lines in Stokes V for weak and moderately strong magnetic fields (B ≤ 2 kG).

  • 2.

    We developed a new, improved LSD code, which is generalized to handle multiple mean profile reconstruction from the same spectrum and employs regularization to suppress excessive numerical noise that appears in the LSD profiles as a result of the autocorrelation matrix inversion. At the same time, we demonstrated that the recently suggested non-linear deconvolution method of Sennhauser et al. (2009) is applicable only to the spectra of very slowly rotating stars observed at the highest available spectroscopic resolutions, but is inferior to the standard LSD method when the line blending is primarily due to rotational and instrumental broadening.

  • 3.

    We emphasized the importance of choosing correct line weights in the calculation of LSD profiles. It is the normalization of these weights, but not the mean line parameters, that determine the characteristics (central wavelength, Landé factor, etc.) of the resulting LSD profile. We suggested an improved weighting scheme for the computation of the linear polarization LSD profiles, which accounts for the anomalous Zeeman splitting of spectral lines.

  • 4.

    We performed comprehensive numerical experiments in which we analyzed LSD profiles computed from the local theoretical Stokes parameter spectra of a mid-A magnetic chemically peculiar star. The measurements of the mean longitudinal magnetic field from the synthetic LSD profiles show that Bz accurate to within a few % can be retrieved for the magnetic field strength of up to  ~1 kG, but systematic errors of up to 10% can be expected for stronger fields.

  • 5.

    Generally, the LSD intensity and polarization profiles do not behave as a spectral line with parameters determined by averaging over individual lines contributing to the mean spectrum. In particular, the LSD Stokes I profile appears broader and its equivalent width changes to a lesser extent with variation of element abundances than for a real spectral line. The LSD Stokes V and Q cannot be described simultaneously by the same line parameters even in a weak magnetic field. The only parameter region where we found the single-line approximation of the LSD profiles to be reasonably robust is the circular polarization spectra in the 0–2 kG field strength interval. Whenever the field intensity exceeds this limit or an element abundance is changed or Stokes Q is considered simultaneously with the circular polarization, the LSD profile cannot be predicted by a single-line spectrum synthesis. These results suggest that the single-line approximation of LSD profiles should be abandoned in favor of a direct comparison of the mean profiles inferred from observations and from the same lines in theoretical polarized synthetic spectrum.


1

The magnetic field vector is characterized by the field modulus B, angle γ between the field vector and the line of sight and angle χ, giving orientation of the field in the plane perpendicular to the line of sight. Figure 2 in Piskunov & Kochukhov (2002) illustrates the definition of these angles.

Acknowledgments

We thank Véronique Petit and Gregg Wade for valuable discussions of the LSD method. O.K. is a Royal Swedish Academy of Sciences Research Fellow supported by grants from the Knut and Alice Wallenberg Foundation and the Swedish Research Council.

References

  1. Aurière, M., Wade, G. A., Silvester, J., et al. 2007, A&A, 475, 1053 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  2. Alecian, E., Wade, G. A., Catala, C., et al. 2008, A&A, 481, L99 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  3. Aurière, M., Wade, G. A., Konstantinova-Antova, R., et al. 2009, A&A, 504, 231 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  4. Barnes, J. R. 2004, MNRAS, 348, 1295 [Google Scholar]
  5. Barnes, J. R., Collier Cameron, A., James, D. J., & Donati, J. 2000, MNRAS, 314, 162 [NASA ADS] [CrossRef] [Google Scholar]
  6. Donati, J., & Collier Cameron, A. 1997, MNRAS, 291, 1 [NASA ADS] [CrossRef] [Google Scholar]
  7. Donati, J.-F., Semel, M., & Rees, D. E. 1992, A&A, 265, 669 [NASA ADS] [Google Scholar]
  8. Donati, J.-F., Semel, M., Carter, B. D., Rees, D. E., & Collier Cameron, A. 1997, MNRAS, 291, 658 [NASA ADS] [CrossRef] [MathSciNet] [Google Scholar]
  9. Donati, J.-F., Cameron, A. C., Semel, M., et al. 2003, MNRAS, 345, 1145 [NASA ADS] [CrossRef] [Google Scholar]
  10. Donati, J.-F., Jardine, M. M., Gregory, S. G., et al. 2008, MNRAS, 386, 1234 [NASA ADS] [CrossRef] [Google Scholar]
  11. Folsom, C. P., Wade, G. A., Kochukhov, O., et al. 2008, MNRAS, 391, 901 [NASA ADS] [CrossRef] [Google Scholar]
  12. Hareter, M., Kochukhov, O., Lehmann, H., et al. 2008, A&A, 492, 185 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  13. Jeffers, S. V., Donati, J., & Collier Cameron, A. 2007, MNRAS, 375, 567 [NASA ADS] [CrossRef] [Google Scholar]
  14. Johns-Krull, C. M. 2007, ApJ, 664, 975 [NASA ADS] [CrossRef] [Google Scholar]
  15. Johns-Krull, C. M., & Valenti, J. A. 1996, ApJ, 459, L95 [NASA ADS] [CrossRef] [Google Scholar]
  16. Kochukhov, O. 2003, A&A, 404, 669 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  17. Kochukhov, O. 2006, A&A, 454, 321 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  18. Kochukhov, O. 2007, in Physics of Magnetic Stars, ed. I. I. Romanyuk, & D. O. Kudryavtsev, 109 [Google Scholar]
  19. Kochukhov, O., Bagnulo, S., Wade, G. A., et al. 2004, A&A, 414, 613 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  20. Kochukhov, O., Heiter, U., Piskunov, N., et al. 2009, in American Institute of Physics Conf. Ser., ed. E. Stempels, 1094, 124 [Google Scholar]
  21. Kupka, F., Piskunov, N., Ryabchikova, T. A., Stempels, H. C., & Weiss, W. W. 1999, A&AS, 138, 119 [NASA ADS] [CrossRef] [EDP Sciences] [MathSciNet] [PubMed] [Google Scholar]
  22. Kurucz, R. 1993, ATLAS9 Stellar Atmosphere Programs and 2 km/s grid. Kurucz CD-ROM No. 13, Cambridge, Mass.: Smithsonian Astrophysical Observatory [Google Scholar]
  23. Landi Degl’Innocenti, E., & Landolfi, M. 2004, Polarization in Spectral Lines Astrophysics and Space Science Library (Kluwer Academic Publishers), 307 [Google Scholar]
  24. Leroy, J. L. 1995, A&AS, 114, 79 [Google Scholar]
  25. Lignières, F., Petit, P., Böhm, T., & Aurière, M. 2009, A&A, 500, L41 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  26. Minnaert, M. 1935, Z. Astrophys., 10, 40 [Google Scholar]
  27. Morin, J., Donati, J.-F., Petit, P., et al. 2008, MNRAS, 390, 567 [NASA ADS] [CrossRef] [MathSciNet] [Google Scholar]
  28. Petit, V., Wade, G. A., Drissen, L., Montmerle, T., & Alecian, E. 2008, MNRAS, 387, L23 [NASA ADS] [Google Scholar]
  29. Piskunov, N. 1999, in Polarization, ed. K. N. Nagendra, & J. O. Stenflo, Astrophysics and Space Science Library, 243, 515 [Google Scholar]
  30. Piskunov, N., & Kochukhov, O. 2002, A&A, 381, 736 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  31. Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. 1992, Numerical recipes in FORTRAN, The art of scientific computing, 2nd edn. (Cambridge: University Press) [Google Scholar]
  32. Ramírez Vélez, J. C., Semel, M., Stift, M., et al. 2010, A&A, 512, A6 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  33. Reiners, A., & Schmitt, J. H. M. M. 2003, A&A, 398, 647 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  34. Rucinski, S. M. 1992, AJ, 104, 1968 [NASA ADS] [CrossRef] [Google Scholar]
  35. Ryabchikova, T., Ryabtsev, A., Kochukhov, O., & Bagnulo, S. 2006, A&A, 456, 329 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  36. Ryabchikova, T. A. 2005, Astron. Lett., 31, 388 [Google Scholar]
  37. Semel, M. 1989, A&A, 225, 456 [NASA ADS] [Google Scholar]
  38. Semel, M., & Li, J. 1996, Sol. Phys., 164, 417 [NASA ADS] [CrossRef] [Google Scholar]
  39. Semel, M., Ramírez Vélez, J. C., Martínez González, M. J., et al. 2009, A&A, 504, 1003 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  40. Sennhauser, C., Berdyugina, S. V., & Fluri, D. M. 2009, A&A, 507, 1711 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  41. Snik, F., Jeffers, S., Keller, C., et al. 2008, SPIE, 7014 [Google Scholar]
  42. Takeda, Y., Kawanomoto, S., & Ohishi, N. 2008, ApJ, 678, 446 [NASA ADS] [CrossRef] [Google Scholar]
  43. Valenti, J. A., Piskunov, N., & Johns-Krull, C. M. 1998, ApJ, 498, 851 [Google Scholar]
  44. Wade, G. A., Donati, J.-F., Landstreet, J. D., & Shorlin, S. L. S. 2000a, MNRAS, 313, 851 [Google Scholar]
  45. Wade, G. A., Donati, J.-F., Landstreet, J. D., & Shorlin, S. L. S. 2000b, MNRAS, 313, 823 [NASA ADS] [CrossRef] [MathSciNet] [Google Scholar]

All Figures

thumbnail Fig. 1

Discrepancy between scaled profile of the weak Fe i spectral line and detailed spectrum synthesis calculation for the line of given central depth. The discrepancy is characterized with the standard deviation (solid line) and maximum difference (dashed line). Results are shown for an unbroadened spectrum (circles) and for the resolving power R = 60000 (squares).

In the text
thumbnail Fig. 2

Same as Fig. 1 for the discrepancy between linearly added profiles of two identical Fe i lines of a given central depth and detailed spectrum synthesis calculation.

In the text
thumbnail Fig. 3

Top panel: comparison between the usual LSD profile, the scaled cross-correlation function and the LSD profile reconstructed using regularization. These profiles are obtained from a simulated S/N = 15 spectrum, containing 500 randomly distributed scaled lines with a characteristic Stokes V S-shaped signature. Profiles are shifted vertically for display purpose. The indicated signal-to-noise ratio is inferred from the pixel scatter in the regions on both sides of the profile. Bottom panel: the difference between LSD profiles and the corresponding CCF.

In the text
thumbnail Fig. 4

Comparison of the LSD (dashed line) and NDD (dash-dotted line) description of blended lines with the detailed radiative transfer (RT) calculation (solid line). a) Two identical unresolved lines with overlapping absorption coefficients. b) Two resolved lines that overlap because of the rotational broadening corresponding to vesini = 10 km s-1. c) Same as b), but the overlap is caused by the Gaussian instrumental broadening with FHWM = 0.17 Å.

In the text
thumbnail Fig. 5

Small segment of the normalized local four Stokes parameter spectra calculated with synmast for the disk center (μ = 1), field strength B = 5000 G and magnetic vector orientation γ = 45°, χ = 0°. Linear and circular polarization profiles are shifted vertically for display purpose. Thin vertical bars plotted over the Stokes I spectrum indicate absorption lines deeper than 10% in the absence of magnetic field.

In the text
thumbnail Fig. 6

Standard deviation of the scaled Stokes I, V and Q profiles as a function of the field strength for two different values of the field inclination γ (45°, 90° for I and Q and 45°, 90° for V). Results for the two resolving powers are shown with red and blue curves. The solid, dashed, and dotted lines correspond to the standard deviations obtained using different line scaling factors.

In the text
thumbnail Fig. 7

Mean scaled Stokes I, V, and Q signatures for the Fe lines of different central intensity. These profiles are obtained from the spectra computed with B = 100 G and an inclination angle γ = 0° (Stokes I and V) and γ = 90° (Stokes Q).

In the text
thumbnail Fig. 8

Stokes I LSD profiles of individual elements reconstructed with the standard LSD technique (solid lines) and multiprofile LSD (dashed lines).

In the text
thumbnail Fig. 9

Relative error of the longitudinal magnetic field Bz determined from the LSD Stokes V profiles. The lines of different colors show results for different inclinations of the magnetic field vector, while the solid and dashed lines illustrate the effect of choosing different integration limits.

In the text
thumbnail Fig. 10

Comparison of the LSD Stokes IQV profiles obtained from synthetic stellar spectra (symbols) with the theoretical line profiles computed for the average line parameters (lines). Different colors illustrate the results for three values of the magnetic field inclination with respect to the line of sight (0°, 45° and 90°). The four columns correspond to different magnetic field strength values (0.1, 0.2, 1 and 5 kG). The solid lines show theoretical profiles for the resolution R = 80000. The dotted lines in the Stokes I and V panels illustrate calculations for R = 120000, which was the instrumental broadening applied to the original simulated stellar spectra. The dash-dotted lines in the Stokes V and Q panels represent calculations for the equivalent Zeeman splitting pattern with widely separated σ components.

In the text
thumbnail Fig. 11

Dependence of the equivalent width on abundance for the LSD profiles (symbols) and theoretical profiles of Fe spectral lines (lines). Different lines illustrate the EW-abundance dependence obtained for different combinations of line parameters. Red: averaging over all Fe lines; green: averaging over Fe i lines; blue: averaging over Fe ii lines. The dashed and solid lines show results for the oscillator strength determined using harmonic and arithmetic averaging, respectively.

In the text
thumbnail Fig. 12

Comparison of the Fe LSD profiles (symbols) and the profiles of theoretical spectral line (solid curve) for one of the sets of atomic parameters used in Fig. 11.

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.