Approximate Hernquist (aHernquist) lens
LensFactory.Lenses.init_aHernquistLens — Type
init_aHernquistLens(D_d::Real = NaN,
x_c::Real = 0.0,
y_c::Real = 0.0,
mass::Real = NaN,
x_s::Real = NaN,
eps::Real = NaN,
pa::Real = NaN)Initialize an approximate Hernquist lens (aHernquistLens) with the given parameters based on Oguri (2021).
Keyword Arguments
D_d::Real = NaN: ADD from observer to lens (in $\rm \mathbf{meters}$).x_c::Real = 0.0: x-coordinate of the lens (in $\rm \mathbf{arcseconds}$).y_c::Real = 0.0: y-coordinate of the lens (in $\rm \mathbf{arcseconds}$).mass::Real= NaN: Mass of the lens (in $\rm \mathbf{M_\odot}$).x_s::Real = NaN: Scale radius (in $\rm \mathbf{arcseconds}$).eps::Real = NaN: Ellipticity.pa::Real = NaN: Position angle (in $\rm \mathbf{deg}$).
LensFactory.Lenses.aHernquistLens.potential! — Function
potential!(ψ::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, mass::T, θs::T, ϵ::T, pa::T) where {U<:Real, S<:Real, T<:Real}potential!(ψ::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, mass::T, θs::T, ϵ::T, pa::T) where {U<:ROA, S<:ROA, T<:Real}LensFactory.Lenses.aHernquistLens.deflection! — Function
deflection!(ψx::U, ψy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, mass::T, θs::T, ϵ::T, pa::T) where {U<:Real, S<:Real, T<:Real}deflection!(ψx::U, ψy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, mass::T, θs::T, ϵ::T, pa::T) where {U<:ROA, S<:ROA, T<:Real}LensFactory.Lenses.aHernquistLens.jacobian! — Function
jacobian!(ψxx::U, ψyy::U, ψxy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, mass::T, θs::T, ϵ::T, pa::T) where {U<:Real, S<:Real, T<:Real}jacobian!(ψxx::U, ψyy::U, ψxy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, mass::T, θs::T, ϵ::T, pa::T) where {U<:ROA, S<:ROA, T<:Real}