LensFactory.MultiPlane.plot_image_plane — Function
LensFactory.MultiPlane.plot_image_plane(cosmology::Cosmology.AbstractCosmology, lens::Lenses.AbstractLens, θx::ROA, θy::ROA, zs::RV)Arguments
cosmology::Cosmology.AbstractCosmology– Cosmologylens::Lenses.AbstractLens– The lens model to plotθx::ROA– x-coordinates gridθy::ROA– y-coordinates gridzs::RV– Source redshift
Keyword arguments
two_panel::Bool = false– Whether to create a two-panel plot with source plane on the left and image plane on the rightplot_caustic::Bool = truecaustic_kws::NamedTuple = (color = :green, linewidth = 2)
plot_critical::Bool =truecritical_kws::NamedTuple = (color = :red, linewidth = 2)
source::Union{Nothing, NTuple{2, RV}, Matrix{<:RV}} = nothingsource_kws::NamedTuple = (color=:red, markersize=10, marker=:star5, heatmap=cgrad([:white, :blue]))image_kws::NamedTuple = (color=:blue, markersize=10, marker=:star5, heatmap=cgrad([:white, :red]))
save_plot::Bool = falseplot_name::String = "image_plane.png"resolution::Int = 2
Returns
fig: A Makie figure object containing the image plane plot.ax: The axis object of the plot for further customization.