Multi-component Gaussian Lens
LensFactory.Lenses.init_MultiGaussianLens — Type
init_MultiGaussianLens(D_d::Real = NaN,
x_c = Vector{<:Real},
y_c = Vector{<:Real},
mass = Vector{<:Real},
x_s = Vector{<:Real})Initialize a Multi-component Gaussian lens with the given parameters.
Keyword Arguments
D_d = NaN: Angular diameter distance to the lens (in $\rm \mathbf{arcseconds}$).x_c = Vector{<:Real}(): Vector of x-coordinates (in $\rm \mathbf{arcseconds}$).y_c = Vector{<:Real}(): Vector of y-coordinates (in $\rm \mathbf{arcseconds}$).mass= Vector{<:Real}(): Vector of masses (in $\rm \mathbf{M_\odot}$).x_s = Vector{<:Real}(): Vector of scale radii (in $\rm \mathbf{arcseconds}$).
LensFactory.Lenses.MultiGaussianLens.potential! — Function
potential!(ψ::U, θx::S, θy::S, D_d::Real, θxc::T, θyc::T, mass::T, θs::T, nl::Int64) where {U<:Real, S<:Real, T<:Vector{<:Real}}potential!(ψ::U, θx::S, θy::S, D_d::Real, θxc::T, θyc::T, mass::T, θs::T, nl::Int64) where {U<:ROA, S<:ROA, T<:Vector{<:Real}}LensFactory.Lenses.MultiGaussianLens.deflection! — Function
deflection!(ψx::U, ψy::U, θx::S, θy::S, D_d::Real, θxc::T, θyc::T, mass::T, θs::T, nl::Int64) where {U<:Real, S<:Real, T<:Vector{<:Real}}deflection!(ψx::U, ψy::U, θx::S, θy::S, D_d::Real, θxc::T, θyc::T, mass::T, θs::T, nl::Int64) where {U<:ROA, S<:ROA, T<:Vector{<:Real}}LensFactory.Lenses.MultiGaussianLens.jacobian! — Function
jacobian!(ψxx::U, ψyy::U, ψxy::U, θx::S, θy::S, D_d::Real, θxc::T, θyc::T, mass::T, θs::T, nl::Int64) where {U<:Real, S<:Real, T<:Vector{<:Real}}jacobian!(ψxx::U, ψyy::U, ψxy::U, θx::S, θy::S, D_d::Real, θxc::T, θyc::T, mass::T, θs::T, nl::Int64) where {U<:ROA, S<:ROA, T<:Vector{<:Real}}