Multi-component PJE Lens

LensFactory.Lenses.init_MultiPJELens — Type
init_MultiPJELens(n::Int64 = NaN, 
                  x_c = Vector{<:Real}, 
                  y_c = Vector{<:Real}, 
                  v_d = Vector{<:Real}, 
                  x_s = Vector{<:Real}, 
                  x_t = Vector{<:Real}, 
                  eps = Vector{<:Real}, 
                  pa  = Vector{<:Real})

Initialize a Multi-component PJE lens with the given parameters.

Keyword Arguments

  • n::Int64 = NaN: Number of components.
  • x_c = Vector{<:Real}(): Vector of x-coordinates (in $\rm \mathbf{arcseconds}$).
  • y_c = Vector{<:Real}(): Vector of y-coordinates (in $\rm \mathbf{arcseconds}$).
  • v_d = Vector{<:Real}(): Vector of velocity dispersions (in $\rm \mathbf{km/s}$).
  • x_s = Vector{<:Real}(): Vector of scale radii (in $\rm \mathbf{arcseconds}$).
  • x_t = Vector{<:Real}(): Vector of tidal radii (in $\rm \mathbf{arcseconds}$).
  • eps = Vector{<:Real}(): Vector of ellipticities.
  • pa = Vector{<:Real}(): Vector of position angles (in $\rm \mathbf{deg}$).
source
LensFactory.Lenses.MultiPJELens.potential! — Function
potential!(ψ::U, θx::S, θy::S, θxc::T, θyc::T, vd::T, θs::T, θt::T, ϵ::T, pa::T, nl::Int64) where {U<:Real, S<:Real, T<:Vector{<:Real}}
source
potential!(ψ::U, θx::S, θy::S, θxc::T, θyc::T, vd::T, θs::T, θt::T, ϵ::T, pa::T, nl::Int64) where {U<:ROA, S<:ROA, T<:Vector{<:Real}}
source
LensFactory.Lenses.MultiPJELens.deflection! — Function
deflection!(ψx::U, ψy::U, θx::S, θy::S, θxc::T, θyc::T, vd::T, θs::T, θt::T, ϵ::T, pa::T, nl::Int64) where {U<:Real, S<:Real, T<:Vector{<:Real}}
source
deflection!(ψx::U, ψy::U, θx::S, θy::S, θxc::T, θyc::T, vd::T, θs::T, θt::T, ϵ::T, pa::T, nl::Int64) where {U<:ROA, S<:ROA, T<:Vector{<:Real}}
source
LensFactory.Lenses.MultiPJELens.jacobian! — Function
jacobian!(ψxx::U, ψyy::U, ψxy::U, θx::S, θy::S, θxc::T, θyc::T, vd::T, θs::T, θt::T, ϵ::T, pa::T, nl::Int64) where {U<:Real, S<:Real, T<:Vector{<:Real}}
source
jacobian!(ψxx::U, ψyy::U, ψxy::U, θx::S, θy::S, θxc::T, θyc::T, vd::T, θs::T, θt::T, ϵ::T, pa::T, nl::Int64) where {U<:ROA, S<:ROA, T<:Vector{<:Real}}
source