Skip to main content
Sandbox Physics
Weak gravitational lensing and mass maps

Turning a shear field into a mass map

Sandbox Physics ·

Convergence and shear are second derivatives of the same potential, so in Fourier space the shear is just the convergence rotated by twice the angle of the wave vector. Rotating back turns a measured shear field into a convergence map. The rotation also yields a second, imaginary map that lensing leaves empty, a built-in null test. Two things are lost on the way: the mean of the map, because a uniform mass sheet changes no shape, and sharpness, because the map must be smoothed to keep its noise finite.

Read convergence, shear and what a galaxy shape measures first. This chapter uses two-dimensional Fourier transforms and complex exponentials.

Shear and convergence in Fourier space

Write the potential as a sum of plane waves, ψ(θ)=∫d2ℓ(2π)2 ψ^(ℓ) eiℓ⋅θ\psi(\boldsymbol\theta)=\int\frac{\mathrm d^2\ell}{(2\pi)^2}\,\hat\psi(\boldsymbol\ell)\,e^{i\boldsymbol\ell\cdot\boldsymbol\theta}. Each derivative ∂j\partial_j becomes a factor iℓji\ell_j, so ψ,jk→−ℓjℓkψ^\psi_{,jk}\to-\ell_j\ell_k\hat\psi. From the definitions in the previous chapter,

κ^=−12(ℓ12+ℓ22)ψ^,γ^1=−12(ℓ12−ℓ22)ψ^,γ^2=−ℓ1ℓ2 ψ^.\hat\kappa=-\tfrac12\left(\ell_1^2+\ell_2^2\right)\hat\psi,\qquad \hat\gamma_1=-\tfrac12\left(\ell_1^2-\ell_2^2\right)\hat\psi,\qquad \hat\gamma_2=-\ell_1\ell_2\,\hat\psi .

Combine the shear into γ^=γ^1+iγ^2=−12(ℓ1+iℓ2)2ψ^\hat\gamma=\hat\gamma_1+i\hat\gamma_2=-\tfrac12(\ell_1+i\ell_2)^2\hat\psi and divide by κ^\hat\kappa. With ℓ1+iℓ2=ℓeiβ\ell_1+i\ell_2=\ell e^{i\beta},

γ^(ℓ)=(ℓ1+iℓ2)2ℓ2 κ^(ℓ)=e2iβ κ^(ℓ).\hat\gamma(\boldsymbol\ell)=\frac{(\ell_1+i\ell_2)^2}{\ell^2}\,\hat\kappa(\boldsymbol\ell)=e^{2i\beta}\,\hat\kappa(\boldsymbol\ell).

Cosmology with cosmic shear observations: a review, Eq. 30

The factor e2iβe^{2i\beta} has modulus one. Shear and convergence therefore have the same power at every scale; only the phase differs.

Inverting: the Kaiser-Squires map

Multiply by e−2iβe^{-2i\beta} to undo the rotation:

κ^E+iκ^B=(ℓ12−ℓ22)−2i ℓ1ℓ2ℓ2 γ^(ℓ),ℓ≠0.\hat\kappa_E+i\hat\kappa_B=\frac{(\ell_1^2-\ell_2^2)-2i\,\ell_1\ell_2}{\ell^2}\,\hat\gamma(\boldsymbol\ell),\qquad \boldsymbol\ell\ne0 .

Kaiser and Squires wrote the same result in real space, as a convolution of the shear with a kernel that falls off as 1/θ21/\theta^2. Weak Gravitational Lensing, Eqs. 5.3-5.4 In practice one bins galaxy ellipticities on a grid, takes a fast Fourier transform, multiplies by the kernel above and transforms back.

For a shear field that really comes from a real convergence, the imaginary part κB\kappa_B is zero. Measured shapes also carry noise, imperfect corrections for the telescope's blurring and, in principle, alignments that galaxies acquire on their own. These need not be curl-free, so they can fill κB\kappa_B. The B map is a null test: it should look like pure noise. Discriminating weak lensing from intrinsic spin correlations using the curl-gradient decomposition

Worked example. Take a single convergence wave along xx, κ=Acos⁡ℓx\kappa=A\cos\ell x. Its wave vector has β=0\beta=0, so e2iβ=1e^{2i\beta}=1 and γ1=Acos⁡ℓx\gamma_1=A\cos\ell x, γ2=0\gamma_2=0. Where κ\kappa is positive, images stretch along xx, across the crest; where it is negative, along yy. A ridge of mass acts like a cylindrical lens and magnifies only across itself. Turn the wave to run along yy. Now β=90∘\beta=90^\circ and e2iβ=−1e^{2i\beta}=-1, so γ1=−Acos⁡ℓy\gamma_1=-A\cos\ell y: the stretch turns with the wave and again runs across the crests.

The mode that cannot be recovered

At ℓ=0\boldsymbol\ell=0 the kernel is undefined. That mode is the mean convergence of the field, and it is lost because a uniform sheet makes no shear. More precisely, shapes measure g=γ/(1−κ)g=\gamma/(1-\kappa), and the transformation

κ→κ′=λκ+(1−λ),γ→γ′=λγ\kappa\to\kappa'=\lambda\kappa+(1-\lambda),\qquad \gamma\to\gamma'=\lambda\gamma

keeps gg fixed for any λ≠0\lambda\ne0: γ′/(1−κ′)=λγ/[λ(1−κ)]=g\gamma'/(1-\kappa')=\lambda\gamma/[\lambda(1-\kappa)]=g. This is the mass-sheet degeneracy. Shapes alone cannot tell the original mass from a weakened copy plus a uniform sheet. The magnification changes, μ′=μ/λ2\mu'=\mu/\lambda^2, so galaxy sizes or number counts can break it. Weak Gravitational Lensing, Eqs. 5.9-5.10

A small-field Kaiser-Squires map simply sets the mean of the field to zero. Our reproducible tutorial checks this on a noise-free isothermal halo in a 40′40' field. Away from the edges, the reconstruction differs from the truth by an almost constant offset of 0.02250.0225. The true mean convergence of the field is 0.02200.0220. After removing the offset, the residual is a tenth of the signal.

Noise and smoothing

With galaxies at random positions, the Kaiser-Squires estimate has infinite noise unless it is smoothed. Model each shear component as white noise. Galaxies with scatter σϵ\sigma_\epsilon per component and density nn give a noise power of σϵ2/n\sigma_\epsilon^2/n in each component. The inversion kernel has modulus one, so κE\kappa_E and κB\kappa_B each inherit noise power σϵ2/n\sigma_\epsilon^2/n. Smooth with a Gaussian of width θs\theta_{\rm s}, whose Fourier window is e−ℓ2θs2/2e^{-\ell^2\theta_{\rm s}^2/2}. The noise variance of the map is

σκ2=∫d2ℓ(2π)2 σϵ2n e−ℓ2θs2=σϵ24π θs2 n.\sigma_\kappa^2=\int\frac{\mathrm d^2\ell}{(2\pi)^2}\,\frac{\sigma_\epsilon^2}{n}\,e^{-\ell^2\theta_{\rm s}^2}=\frac{\sigma_\epsilon^2}{4\pi\,\theta_{\rm s}^2\,n} .

Worked example. With σϵ=0.26\sigma_\epsilon=0.26, n=20 arcmin−2n=20\ \mathrm{arcmin^{-2}} and θs=1′\theta_{\rm s}=1', σκ=0.26/4π×20=0.016\sigma_\kappa=0.26/\sqrt{4\pi\times20}=0.016. A simulation of pure Gaussian noise on a fine grid gives 0.01640.0164 in the E map and 0.01620.0162 in the B map. A cluster with θE=20′′\theta_{\rm E}=20'' has κ=0.17\kappa=0.17 at 1′1', but only the parts of it wider than about 1′1' survive the smoothing. Halving θs\theta_{\rm s} doubles the noise.

Smoothing trades resolution for noise. Edges cost more. Shear outside the field is unknown and usually set to zero, so structure just beyond the edge leaks into the map. Masks inside the field do the same. Each map pixel near an edge is less certain than the formula says.

Lab tasks

  1. In the weak-lensing mass map Lab, compare the E-mode and B-mode maps for the default field. Does the B map show either halo?
  2. Load Too few galaxies. Predict from the noise formula how much worse the map should be at 4 galaxies per square arcminute than at 20, then compare the peak-over-noise readout.
  3. Load A hidden mass sheet. The shapes are the same as before. Which readouts stay fixed and which move? Look at the galaxy sizes too.
  4. Open the advanced settings and change the smoothing scale from 0.5 to 2 arcminutes. Describe what happens to the two halos and to the noise.

Exercises

  1. Derive γ^=e2iβκ^\hat\gamma=e^{2i\beta}\hat\kappa from the potential, and show that ∣γ^∣2=∣κ^∣2|\hat\gamma|^2=|\hat\kappa|^2.
  2. Show that under κ→λκ+(1−λ)\kappa\to\lambda\kappa+(1-\lambda), γ→λγ\gamma\to\lambda\gamma, the magnification becomes μ/λ2\mu/\lambda^2.
  3. A convergence wave runs at 45∘45^\circ: κ=Acos⁡[ℓ(x+y)/2]\kappa=A\cos[\ell(x+y)/\sqrt2]. Find γ1\gamma_1 and γ2\gamma_2.
  4. What smoothing scale gives σκ=0.01\sigma_\kappa=0.01 with σϵ=0.26\sigma_\epsilon=0.26 and n=20 arcmin−2n=20\ \mathrm{arcmin^{-2}}?
  5. Rotate every measured ellipticity by 45∘45^\circ, ϵ→iϵ\epsilon\to i\epsilon. What happens to the E and B maps?
Answers
  1. With ψ,jk→−ℓjℓkψ^\psi_{,jk}\to-\ell_j\ell_k\hat\psi: γ^1+iγ^2=−12(ℓ12−ℓ22+2iℓ1ℓ2)ψ^=−12(ℓ1+iℓ2)2ψ^\hat\gamma_1+i\hat\gamma_2=-\tfrac12(\ell_1^2-\ell_2^2+2i\ell_1\ell_2)\hat\psi=-\tfrac12(\ell_1+i\ell_2)^2\hat\psi and κ^=−12ℓ2ψ^\hat\kappa=-\tfrac12\ell^2\hat\psi. The ratio is (ℓ1+iℓ2)2/ℓ2=e2iβ(\ell_1+i\ell_2)^2/\ell^2=e^{2i\beta}, of modulus one.
  2. μ′−1=(1−κ′)2−∣γ′∣2=λ2(1−κ)2−λ2∣γ∣2=λ2μ−1\mu'^{-1}=(1-\kappa')^2-|\gamma'|^2=\lambda^2(1-\kappa)^2-\lambda^2|\gamma|^2=\lambda^2\mu^{-1}.
  3. β=45∘\beta=45^\circ, so e2iβ=ie^{2i\beta}=i: γ1=0\gamma_1=0 and γ2=Acos⁡[ℓ(x+y)/2]\gamma_2=A\cos[\ell(x+y)/\sqrt2].
  4. θs=0.26/(0.014π×20)=1.64′\theta_{\rm s}=0.26/(0.01\sqrt{4\pi\times20})=1.64'.
  5. κE+iκB\kappa_E+i\kappa_B is linear in γ\gamma, so it is multiplied by ii: the new E map is −κB-\kappa_B and the new B map is κE\kappa_E. A 45∘45^\circ error in the shape convention moves all the mass into the null map, which is why the B map catches it.

Next: shear correlation functions and redshift tomography.

Sources

  1. Cosmology with cosmic shear observations: a review, Eq. 30
  2. Weak Gravitational Lensing, Eqs. 5.3-5.4
  3. Discriminating weak lensing from intrinsic spin correlations using the curl-gradient decomposition

Keep reading

What this page links to directly

See this series on the content map →

Weak gravitational lensing and mass maps · Reading path

From galaxy shapes to a map of mass

  1. ArticleHow can galaxies that are barely stretched map dark matter?
  2. ArticleConvergence, shear and what a galaxy shape measures
  3. You are hereTurning a shear field into a mass map
  4. ArticleShear correlation functions and redshift tomography
  5. ArticleRecompute shear correlations and tomography from a simulation
  6. ArticleHow to read the DES Year 3 lensing and clustering analysis
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy