LSSTDESC / descwl-shear-sims

simple simulations for testing weak lensing shear measurement
BSD 3-Clause "New" or "Revised" License
10 stars 9 forks source link

add cluster shears #197

Open lbaumo opened 1 year ago

lbaumo commented 1 year ago

you can use clmm to generate cluster shears for an nfw (or other profile)- see this class , especially eval_convergence and eval_tangential_shear

lbaumo commented 1 year ago

here is an example of the cluster object

lbaumo commented 1 year ago

we should probably set the maximum shear to .8 (though shear is definitely non-linear above g~.2) as large shears can come up in nfw profiles, and galsim cannot render very large shears properly

mr-superonion commented 1 year ago

I am currently setting the maximum kappa to 0.6 (see here) to avoid the error message from Galsim when the distortions are too big.