Skip to content

Commit

Permalink
Update utilities.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BirendraDh authored Sep 28, 2023
1 parent 1979ef5 commit 3eec42d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyHalo/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def multiplane_convergence(realization, cone_opening_angle_arcsec=2.5, npix=100,
lens_redshift_list=redshift_list_macro + list(redshfit_array_halos),
cosmo=realization.lens_cosmo.cosmo.astropy)

_r = np.linspace(-cone_opening_angle_arcsec/2, cone_opening_angle_arcsec/2, npix)
_r = np.linspace(-cone_opening_angle_arcsec/4, cone_opening_angle_arcsec/4, npix)
xx, yy = np.meshgrid(_r, _r)
kappa_macro = lens_model_macro.kappa(xx.ravel(), yy.ravel(), kwargs_lens_macro)
kappa = lens_model.kappa(xx.ravel(), yy.ravel(), kwargs_lens_macro + kwargs_lens_halos)
Expand Down

0 comments on commit 3eec42d

Please sign in to comment.