Skip to content

Repository with Legacy Cosmology Blinding for 3x2pt data-vector blinding using Cosmosis v2

License

Notifications You must be signed in to change notification settings

LSSTDESC/legacy_blinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESC Legacy Blinding for Cosmosis codecov arXiv LSST DESC Blinding Slack

Legacy Cosmosis Blinding for 2pt data

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.

Installation

  • 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

Legacy Blinding installation

Simply install with

python -m pip install -e .

Test the installation

To run the unit tests:

cd tests
pytest .

Usage

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.

About

Repository with Legacy Cosmology Blinding for 3x2pt data-vector blinding using Cosmosis v2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages