Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time


This repository contains the scripts used to convert the shear-photo-z catalogues from the fourth data release of the Kilo-Degree Survey (KiDS-1000) into 1pt and 2pt observables. The software was used in the following publications

With the publication of these papers, we make these scripts available to the community following the draft Software Policy document from the LSST-DESC Software Review Policy Committee. In doing so we aim to show the reliability, reproducibility and reusability of our code, ensure visibility for our developers, and build trust in our "4-eye" software review process. There is a major caveat here though - we are not software engineers! We fully recognise that our code could be improved in many ways. We nevertheless provide these scripts "as is" without user support.

We provide a brief summary of each directory, referring the user to the directory readmes which further describe the contents.

  • 2pt_data_to_fits: Creating data fits tables for KCAP/CosmoSIS
  • Calc_1pt_Stats: Calculating 1pt Statistics from the KiDS-1000 shear and photo-z catalogues
  • Calc_2pt_Stats: Calculating 2pt Statistics from the KiDS-1000 shear and photo-z catalogues
  • GGL_LensCats: Creating KiDS-overlap Lens Catalogues from the BOSS and 2dFLenS master catalogues
  • PSFRES_CORRMAP : Chip-dependent 2D PSF residual model
  • PSF_systests: quantifying and testing the impact of the Paulin-Henriksson and Bacon PSF systematics model.
  • Predictions: theoretical models for the 3x2pt data vector.
  • Shear_Ratio_Test: scripts to run the shear ratio test presented in Giblin, Heymans, Asgari et al. 2020
  • data: KiDS-1000 BOSS and 2dFLenS 3x2pt data and covariances in ascii and CosmoSIS-friendly fits format
  • src: Code to convert finely binned xi_\pm measurements into COSEBIs and Bandpower estimates


KiDS-1000 scripts to convert shear catalogues to 2pt and 1pt observables.







No releases published


No packages published