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.

Lens Models

At present, CosmoSim provides three analytic lens models: Point Mass, SIS, and SIE. The critical point is to provide the lens potential ψ\psi and compute derivatives so that the roulette amplitudes can be computed.

Point Mass

Stars and other celestial objects may sometimes be modelled as so-called point-masses. The gravitational potential is in this case

ψPMR(θ1,θ2)=θE2lnθ=θE2lnθ12+θ22,\psi_{\mathrm{PM}}^R(\theta_1,\theta_2) = \theta_E^2\ln\theta = \theta_E^2\cdot\ln\sqrt{\theta_1^2+\theta_2^2},

where θE\theta_E is the previously defined angular Einstein radius, θE=RE/DL\theta_E=R_E/D_L and where θ=θ12+θ22.\theta=\sqrt{\theta_1^2+\theta_2^2}.

SIS (Singular isothermal sphere)

It is often necessary to model the lens as an extended object. The simplest such model, useful for instance in the modelling of a galaxy surrounded by dark amtter, is the so-called Singular isothermal sphere, or SIS-model for short. The following expression for ψR\psi^R is implemented in amplitudes.py

ψSISR(θ1,θ2)=θEθ=θEθ12+θ22,\psi^R_\mathrm{SIS}(\theta_1,\theta_2) = \theta_E\cdot\theta = \theta_E\cdot\sqrt{\theta_1^2+\theta_2^2},

where notation is as for the point-mass case. In the code, we are working in angular variables. Hence what is called einsteinR in the code, is the angular Einstein radius θE\theta_E. Note that the partial derivatives are readily calculated as

ψθ1=θEθ1θ12+θ12=θEθ1θandψθ2=θEθ2θ12+θ22=θEθ2θ\frac{\partial\psi}{\partial \theta_1} = \theta_E\cdot\frac{\theta_1}{\sqrt{\theta_1^2+\theta_1^2}}=\theta_E\frac{\theta_1}{\theta}\quad\textrm{and}\quad \frac{\partial\psi}{\partial \theta_2} = \theta_E\cdot\frac{\theta_2}{\sqrt{\theta_1^2+\theta_2^2}}=\theta_E\frac{\theta_2}{\theta}

Thus the reduced deflection angle is in the SIS case given as

α=θEθ(θ1,θ2).\boldsymbol{\alpha}=\frac{\theta_E}{\theta}\left(\theta_1,\theta_2\right).

Note that the norm of this vector is constant; α=α=θE.\alpha=|\boldsymbol{\alpha}|=\theta_E.

SIE

The extension of the SIS to an ellipsoid is well described by Kormann et al. (1994), and referred to as the Singular Isothermal Ellipsoid, or SIE-lens for short. It is a three-parameter family of lens models: The Einstein radius (θE\theta_E), the excentricity factor ff and the orientation λL\lambda_L of the lens relative to the polar axis. Given these parameters, the lens profile is given as:

ψSIER(θE,f,λL;θ,ϕ)=θEf1f2θ([sin(ϕλL)]sin1(1f2sin(ϕλL))+[cos(ϕλL)]sinh1(1f2fcos(ϕλL))).\begin{aligned} \begin{split} \psi^R_\textrm{SIE}(\theta_E,f,\lambda_L;\theta,\phi) & = \theta_E\sqrt{\frac{f}{1-f^2}}\theta \\ & \cdot \Bigg([\sin(\phi-\lambda_L)]\cdot\sin^{-1}\left(\sqrt{1-f^2}\cdot \sin{(\phi-\lambda_L)}\right) \\& +[\cos(\phi-\lambda_L)]\cdot\sinh^{-1}\left(\frac{\sqrt{1-f^2}}{f}\cos(\phi-\lambda_L)\right)\Bigg). \end{split} \end{aligned}

where (θ,ϕ)(\theta,\phi) are (normalized) polar coordinates in the lens plane, i.e.

θ=θEx=θ(sinϕ,cosϕ).\boldsymbol{\theta}=\theta_E\mathbf{x}=\theta(\sin\phi,\cos\phi).

The deflection may now be calculated using that

ψθ1=θEf1f2(cosλLsinh1(1f2fθ1θ)sinλLsin1(1f2θ2θ))ψθ2=θEf1f2(sinλLsinh1(1f2fθ1θ)+cosλLsin1(1f2θ2θ))\begin{aligned} \frac{\partial\psi}{\partial \theta_1} &= \theta_E\cdot\frac{\sqrt{f}}{\sqrt{1-f^2}} \\& \cdot\left( \cos\lambda_L\cdot\sinh^{-1}(\frac{\sqrt{1-f^2}}{f}\frac{\theta_1^\prime}{\theta}) - \sin\lambda_L\cdot\sin^{-1}(\sqrt{1-f^2}\frac{\theta_2^\prime}{\theta}) \right) \\ \frac{\partial\psi}{\partial \theta_2} &= \theta_E\cdot\frac{\sqrt{f}}{\sqrt{1-f^2}} \\& \cdot\left( \sin\lambda_L\cdot\sinh^{-1}(\frac{\sqrt{1-f^2}}{f}\frac{\theta_1^\prime}{\theta}) + \cos\lambda_L\cdot\sin^{-1}(\sqrt{1-f^2}\frac{\theta_2^\prime}{\theta}) \right) \end{aligned}

where

θ1=cosλLθ1+sinλLθ2θ2=sinλLθ1+cosλLθ2\begin{aligned} \theta_1^\prime &= \cos\lambda_L\cdot \theta_1 + \sin\lambda_L\cdot \theta_2 \\ \theta_2^\prime &= -\sin\lambda_L\cdot \theta_1 + \cos\lambda_L\cdot \theta_2 \end{aligned}

and θ=θ12+θ22\theta = \sqrt{\theta_1^2+\theta_2^2} as before.

References
  1. Kormann, R., Schneider, P., & Bartelmann, M. (1994). Isothermal elliptical gravitational lens models. Astronomy and Astrophysics (ISSN 0004-6361), Vol. 284, No. 1, p. 285-299, 284, 285–299. https://articles.adsabs.harvard.edu/cgi-bin/nph-iarticle_query?1994A&A...284..285K&classic=YES