LensFactory.Lenses.init_tNFWLens — Type
init_tNFWLens(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, 
              x_t::Real  = NaN)

Initialize a truncated Navarro-Frenk-White (tNFW) 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.
  • x_t::Real = NaN: Truncation radius (in $\rm \mathbf{arcseconds}$).
source
LensFactory.Lenses.tNFWLens.potential! — Function
potential!(ψ::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T, θt::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, θt::T) where {U<:ROA, S<:ROA, T<:Real}
source
LensFactory.Lenses.tNFWLens.deflection! — Function
deflection!(ψx::U, ψy::U, θx::S, θy::S, D_d::T, θxc::T, θyc::T, k_s::T, θs::T, θt::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, θt::T) where {U<:ROA, S<:ROA, T<:Real}
source
LensFactory.Lenses.tNFWLens.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, θt::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, θt::T) where {U<:ROA, S<:ROA, T<:Real}
source