MulensModel.pointlenswithshear module

class MulensModel.pointlenswithshear.PointSourcePointLensWithShearMagnification(trajectory)

Bases: MulensModel.pointlens._PointLensMagnification

Lens of point mass plus shear and convergence, i.e., Chang-Refsdal lens.

This lens was first considered by Chang and Refsdal (1979; Nature, 282, 561).

Arguments :
trajectory: Trajectory

Including trajectory.parameters = ModelParameters

get_magnification()

Calculate point source magnification for the lens composed of a single mass plus a mass sheet.

Returns :
pspl_magnification: np.ndarray

The point-source–point-lens magnification for each point specified by trajectory.