Generalized NFW (gNFW) lens

LensFactory.Lenses.init_gNFWLens — Type
init_gNFWLens(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, 
              n::Real    = 1.0)

Initialize a generalized Navarro-Frenk-White (gNFW) 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. The parameter n defines the slope of the density profile.

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.
  • n::Real = 1.0: Slope parameter of the lens.
source
LensFactory.Lenses.gNFWLens.potential! — Function
potential!(ψ::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T, n::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, n::T) where {U<:ROA, S<:ROA, T<:Real}
source
LensFactory.Lenses.gNFWLens.deflection! — Function
deflection!(ψx::U, ψy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T, n::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, n::T) where {U<:ROA, S<:ROA, T<:Real}
source
LensFactory.Lenses.gNFWLens.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, n::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, n::T) where {U<:ROA, S<:ROA, T<:Real}
source