Usage | Development | Release |
---|---|---|
Author: Martin Kilbinger
Email: [email protected]
Year: 2022
(Copied from the Pyralid template. See pyraliddemo for a demo package created with the Pyralid template.)
The python packages treecorr
, àstropy
, statsmodel
and cs_util
need to be installed.
First, you need the AGN catalogue, optically selected in the SDSS survey. This data file is part of this repository, data/agn_ggl/SDSS_SMBH_202206.txt
.
Second, the weak-lensing catalogue used here is the (internally) release v1.0, produced by either the ShapePipe
or Lensfit
weak-lensing pipeline.
E.g. use the file unions_shapepipe_2022_v1.0.fits
.
Run
scripts/split_sample.py -v -n 2
to create equi-populated mass sub-samples.
Ignoring weights, use
scripts/compute_ng_binned_samples.py --input_path_fg data_mass_sub/SDSS_SMBH_202206_0_n_split_2.fits --input_path_bg unions_shapepipe_2022_v1.0.fits --key_ra_fg ra --key_dec_fg dec -v --out_path data_mass_sub/ggl_agn_0.txt
to compute the weak-lensing tangential shear of UNIONS galaxies around the lower-mass bin (#0). Repeat for the high-mass bin (#1).