Releases: johannesulf/dsigma
Releases · johannesulf/dsigma
v1.0.0
Added
- added
dsigma.stacking.mean_critical_surface_density
Changed
- photometric redshift correction now always applied when computing the mean source redshift
dsigma.stacking.lens_magnification_bias
now usesdsigma.stacking.mean_critical_surface_density
to estimate the critical surface density and not calculate it based on the mean lens and source redshiftdsigma.physics.lens_magnification_shear_bias
can now use angles expressed withastropy
units
v0.7.2
Changed
dsigma.stacking.lens_magnification_bias
can now be used to compute the bias in the tangential shear- mean source redshift now takes into account n(z)'s passed to
dsigma.precompute.precompute
Fixed
- incompatibility with numpy 1.24
- bug in
dsigma.stacking.tangential_shear
whenrandom_subtraction=True
- error in tomographic redshift bin assignment for KiDS, sources with photo-z's at the bin edges were assigned to the wrong tomographic bin, this biased KiDS lensing measurements by order 2%
v0.7.1
Changed
dsigma.jackknife.compress_jackknife_fields
now suppressesnumpy
warnings if columns contain NaNs
Fixed
- bug in the calculation of the photo-z dilution correction factor, led to percent-level biases in the total galaxy-galaxy lensing amplitude, did not affect DES and KiDS calculations since those are based on n(z)'s, bug was introduced in version 0.6
v0.7.0
Changed
dsigma.precompute.add_precompute_results
has been renamed todsigma.precompute.precompute
dsigma.precompute.add_maximum_lens_redshift
has been removed and the functionality integrated intodsigma.precompute.precompute
using thelens_source_cut
argumentdsigma.jackknife.add_continous_fields
,dsigma.jackknife.transfer_continous_fields
,dsigma.jackknife.jackknife_field_centers
, anddsigma.jackknife.add_jackknife_fields
have been merged into a single function,dsigma.jackknife.compute_jackknife_fields
- the computation of continuous fields to construct jackknife patches now uses DBSCAN instead of agglomerative clustering, points are also not downsampled anymore
Removed
dsigma.stacking.shape_noise_error
, please use jackknife resampling to estimate errors
v0.6.1
Changed
- significant performance improvements for
dsigma.precompute.add_precompute_results
Fixed
- crashes in
dsigma.stacking.shape_noise_error