API for the glworia.amp.lens_model
module
LensModel
A parent class for lens models. Class methods, most importantly the Fermat Potential function Psi
, to be implemented in the child classes.
get_Psi()
Returns the Fermat potential function for the lens model. To be implemented in the child classes.
get_add_to_strong()
Returns a function for determining whether to add a point to the strong lensing region.
get_irregular_crit_points_dict()
Returns a dictionary of special caustic points added by hand.
get_origin_type()
Returns a function for obtaining the behavior of the origin of the lens model. Can be 'regular', 'cusp' or 'im'.
get_override_funcs_dict(dT_1D)
Returns a dictionary of the functions for overriding various results.
get_x_im_nan_sub(dT_1D)
Returns a function for overriding the image positions if they are nan
.
get_y_crit_override()
Returns a function for overriding the caustic curve computed.
get_lens_model(lens_model_name)
Obtain the LensModel
object from the name of the lens model.