@@ -102,7 +102,9 @@ def from_mass_obj(cls, mass_obj):
102102 return cls (deflections_yx_2d_from = mass_obj .deflections_yx_2d_from )
103103
104104 @classmethod
105- def from_tracer (cls , tracer , use_multi_plane : bool = True , plane_i : int = 0 , plane_j : int = - 1 ):
105+ def from_tracer (
106+ cls , tracer , use_multi_plane : bool = True , plane_i : int = 0 , plane_j : int = - 1
107+ ):
106108 """
107109 Construct from a PyAutoLens ``Tracer`` object.
108110
@@ -384,9 +386,7 @@ def jacobian_from(self, grid, xp=np) -> List:
384386
385387 return [[a11 , a12 ], [a21 , a22 ]]
386388
387- def convergence_2d_via_hessian_from (
388- self , grid , xp = np
389- ) -> aa .ArrayIrregular :
389+ def convergence_2d_via_hessian_from (self , grid , xp = np ) -> aa .ArrayIrregular :
390390 """
391391 Returns the convergence of the lensing object, which is computed from the 2D deflection angle map via the
392392 Hessian using the expression (see equation 56 https://inspirehep.net/literature/419263):
@@ -416,9 +416,7 @@ def convergence_2d_via_hessian_from(
416416
417417 return aa .ArrayIrregular (values = convergence )
418418
419- def shear_yx_2d_via_hessian_from (
420- self , grid , xp = np
421- ) -> ShearYX2DIrregular :
419+ def shear_yx_2d_via_hessian_from (self , grid , xp = np ) -> ShearYX2DIrregular :
422420 """
423421 Returns the 2D (y,x) shear vectors of the lensing object, which are computed from the 2D deflection angle map
424422 via the Hessian using the expressions (see equation 57 https://inspirehep.net/literature/419263):
@@ -459,9 +457,7 @@ def shear_yx_2d_via_hessian_from(
459457
460458 return ShearYX2DIrregular (values = shear_yx_2d , grid = grid )
461459
462- def magnification_2d_via_hessian_from (
463- self , grid , xp = np
464- ) -> aa .ArrayIrregular :
460+ def magnification_2d_via_hessian_from (self , grid , xp = np ) -> aa .ArrayIrregular :
465461 """
466462 Returns the 2D magnification map of lensing object, which is computed from the 2D deflection angle map
467463 via the Hessian using the expressions (see equation 60 https://inspirehep.net/literature/419263):
@@ -866,4 +862,3 @@ def einstein_mass_angular_from(
866862 )
867863
868864 return einstein_mass_angular_list [0 ]
869-
0 commit comments