This repository contains an implementation of Muir et al. 2020 data-vector blinding strategy using Cosmosis V2. The package in this repository is a direct adaptation of Jessie Muir's DES Y3 blinding scripts to the DESC context.
Supports 3x2pt data-vector blinding.
For the DESC Blinding Library, see here.
- Install cosmosis via
conda install -c conda-forge cosmosis
- Activate the cosmosis configuration via
source cosmosis-configure
- Install the cosmosis standard library via
conda install -c conda-forge cosmosis-build-standard-library
- Install the standard library in the correct cosmosis folder
cosmosis-build-standard-library -i
Simply install with
python -m pip install -e .
To run the unit tests:
cd tests
pytest .
Don't forget to
source cosmosis-configure
To get the docstring on the command-line interface:
python -m blind_2pt_cosmosis --help
To run an example:
python -m blind_2pt_cosmosis -u src/blind_2pt_cosmosis/cosmosis_files/sim_fiducial.fits [--log-level DEBUG]
[!] Note: You can also include all the command line arguments in a .config
file and call python -m blind_2pt_cosmosis @example.config
instead. This will be adapted to use yaml
files in the near future.