Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Basic Notation

Geometric model as described in the text

We assume a flat sky, so that the source is contained in a plane SS at distance DSD_S from the observer, and the lens in a plane LL at distance DLD_L from the observer. The optical axis is the line from the observer through the lens. The planes SS and LL are orthogonal on the optical axis, and have origin in the intersection therewith.

We consider a single source point at η\boldsymbol{\eta} in SS. The apparent position, as seen by the observer, is at ν\nu and

Δη=νη\Delta\boldsymbol{\eta} = \boldsymbol{\nu} - \boldsymbol{\eta}

The apparent position in the lens plane LL is called

ξ=DLDSν.\boldsymbol{\xi} = \frac{D_L}{D_S} \boldsymbol{\nu}.

The deflection is most easily described in terms of angles, so we define β\beta and θ\theta as the angles between the optical axis and respectively η\boldsymbol{\eta} and ν\boldsymbol{\nu}. The deflection angle α^\hat\alpha is the angle between the actual and apparent source in the source plane as seen from the apparent image in the lens plane.

With the flat sky approximation, the angles are related to lengths in the lens plane by a factor of DLD_L, so that

ξ=DLθ\boldsymbol{\xi} = D_L\theta

Similarly, in the source plane, the factor is DSD_S, so that we get

ν=DSθ,\boldsymbol{\nu} = D_S\theta,

η=DSβ,\boldsymbol{\eta} = D_S\beta,

and

Δη=DSα,\begin{align*} \Delta\boldsymbol{\eta} & = D_S\alpha, \end{align*}

where α=θβ\alpha=\theta-\beta as the angle between ηS\boldsymbol{\eta}_S and νS\boldsymbol{\nu}_S as seen from the observer. The same reasoning gives us the following[1],

α=DLSDSα^\alpha = \frac{D_{LS}}{D_S} \hat\alpha

Now, we can write the actual image as

η=DSDLξDLSα^\boldsymbol{\eta} = \frac{D_S}{D_L}\boldsymbol{\xi} - D_{LS}\boldsymbol{\hat\alpha}

Normalisation

The above definitions assume physical units. It is customary to normalise using a constant factor ξ0\xi_0, corresponding to the Einstein radius. This gives the following entities, following Kormann 1994[2]

x=ξξ0y=ηη0where ν0=DSDLξ0a=DLDLSDSξ0α^=DLξ0α\begin{align} \mathbf{x} & = \frac{\boldsymbol{\xi}}{\xi_0} \\\\\\\\ \mathbf{y} & = \frac{\boldsymbol{\eta}}{\eta_0} \quad\text{where } \nu_0 = \frac{D_S}{D_L}\xi_0 \\\\\\\\ \mathbf{a} & = \frac{D_LD_{LS}}{D_S\xi_0}\hat{\boldsymbol{\alpha}} = \frac{D_L}{\xi_0}\boldsymbol{\alpha} \end{align}

The Einstein radius is a distance in the lens plane. The corresponding angle is ξ0/DL\xi_0/D_L which is used to denormalise a\mathbf{a} above.

The lens potential (gravitational potential) can be written as a function ψ\psi of either the angle θ\theta, the vector ξ\boldsymbol{\xi}, or the normalised x\mathbf{x}. The normalised deflection x\mathbf{x} is given as the gradient of ψ\psi, i.e.

a=xψ\mathbf{a} = \nabla_{\mathbf{x}}\psi

Different forms of ψ\psi give[3],

a=ξ0ξψ=ξ0DLθψ\begin{align} \mathbf{a} = \xi_0\cdot\nabla_{\xi}\psi = \frac{\xi_0}{D_L}\cdot\nabla_{\theta}\psi \end{align}

The Raytrace Equation

The normalised raytrace equation is given as

y=xa\begin{align} \mathbf{y} = \mathbf{x} - \mathbf{a} \end{align}

Inserting the gradient for a\mathbf{a}, we have

y=xxψ\begin{align} \mathbf{y} = \mathbf{x} - \nabla_{\mathbf{x}}\psi \end{align}

We can rewrite the raytrace equation using any of the forms of ψ\nabla\psi. In terms of ξ\xi, we have

η=DSDLξDLSα^=DSDL(ξξ0a)=DSDL(ξξ02ξψ)\boldsymbol{\eta} = \frac{D_S}{D_L}\boldsymbol{\xi} - D_{LS}\boldsymbol{\hat\alpha} = \frac{D_S}{D_L}(\boldsymbol{\xi} - \xi_0\mathbf{a}) = \frac{D_S}{D_L}(\boldsymbol{\xi} - \xi_0^2\nabla_{\xi}\psi)

In terms of angles, we have

β=θα=θξ0DLa=θξ0DLa=θξ02DL2θψ\boldsymbol{\beta} = \theta - \alpha = \theta - \frac{\xi_0}{D_L}\mathbf{a} = \theta - \frac{\xi_0}{D_L}\mathbf{a} = \theta - \frac{\xi_0^2}{D_L^2}\nabla_{\theta}\psi

Lens Potential in CosmoSim

In the implementation of CosmoSim, we have used a different definition of ψ\psi,

ψR=ξ02DL2ψ\psi^{\mathrm{R}} = \frac{\xi_0^2}{D_L^2}\psi

TODO double-check this

In this notation, we can write the raytrace equation as

η=DSDL(ξξψR)=νDSDLξψR\boldsymbol{\eta} = \frac{D_S}{D_L}(\boldsymbol{\xi} - \nabla_{\xi}\psi^{\mathrm{R}}) = \boldsymbol{\nu} - \frac{D_S}{D_L} \nabla_{\xi}\psi^{\mathrm{R}}

This is relation is implemented in the RaytraceModel::calculateEta() function in CosmoSim.

Surface Mass Density

The convergence, or dimensionless projected surface-mass density, is given as a function κ\kappa, which is related to ψ\psi as follows:

κ(ξ)=12ξ02(2ψξ12+2ψξ22)\kappa(\boldsymbol{\xi})= \frac12\xi_0^2\left( \frac{\partial^2\psi}{\partial\xi_1^2} + \frac{\partial^2\psi}{\partial\xi_2^2} \right)

or

κ(ξ)=12DL2(2ψRξ12+2ψRξ22)\kappa(\boldsymbol{\xi})= \frac12D_L^2\left( \frac{\partial^2\psi^{\mathrm{R}}}{\partial\xi_1^2} + \frac{\partial^2\psi^{\mathrm{R}}}{\partial\xi_2^2} \right)

Notes

Footnotes
  1. This is seen because DSαD_S\alpha and DLSα^D_{LS}\hat\alpha are the lengths of arcs between the actual and apparent source, and for small angles they are both approximately equal to the straigh line ΔηS\Delta\boldsymbol{\eta}_S.

  2. Kormann uses α\boldsymbol{\alpha} for x\mathbf{x}, but we have already used that for θβ\theta-\beta.

  3. We use here the chain rule with ξ=ξ0x\boldsymbol{\xi}= \xi_0\mathbf{x} and θ=ξ/DL\theta = \boldsymbol{\xi}/D_L.