NFW lens

LensFactory.Lenses.init_NFWLens — Type
init_NFWLens(cosmology::AbstractCosmology, z_d::Real; 
             x_c::Real  = 0.0, 
             y_c::Real  = 0.0, 
             mass::Real = NaN, 
             x_s::Real  = NaN, 
             c::Real    = NaN)

Initialize a Navarro-Frenk-White (NFW) lens with the given parameters. The lens model can be initialized with either the concentration c or the scale radius x_s. If both are provided, c will be used to calculate x_s and the input x_s will be overwritten.

Arguments

  • cosmology::AbstractCosmology: Cosmology object.
  • z_d::Real: Redshift of the lens.

Keyword Arguments

  • 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}$).
  • c::Real = NaN: Concentration of the lens.
source
LensFactory.Lenses.NFWLens.potential! — Function
potential!(ψ::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T) where {U<:Real, S<:Real, T<:Real}
source
potential!(ψ::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T) where {U<:ROA, S<:ROA, T<:Real}
source
LensFactory.Lenses.NFWLens.deflection! — Function
deflection!(ψx::U, ψy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T) where {U<:Real, S<:Real, T<:Real}
source
deflection!(ψx::U, ψy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T) where {U<:ROA, S<:ROA, T<:Real}
source
LensFactory.Lenses.NFWLens.jacobian! — Function
jacobian!(ψxx::U, ψyy::U, ψxy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s:: T, θs::T) where {U<:Real, S<:Real, T<:Real}
source
jacobian!(ψxx::U, ψyy::U, ψxy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T) where {U<:ROA, S<:ROA, T<:Real}
source