Skip to content
forked from anicola/xcorr

Scripts for computing cross-correlations for SO

Notifications You must be signed in to change notification settings

simonsobs/xcorr

 
 

Repository files navigation

xcorr

Light scripts for computing cross-correlations for SO

Requirements:

Installation on cori

Modules loaded in my .bashrc.ext (not sure if they are all needed):

module load cray-fftw/3.3.8.2
module load python/2.7-anaconda-2019.07
module load intel
module load openmpi

Installing namaster and pymaster:

Install NaMaster with conda:

conda install -c conda-forge namaster
conda install -c conda-forge cfitsio=3.430

Install pymaster with pip: pip install pymaster --user

Installing pixell:

Download the repo from https://github.com/simonsobs/pixell, unzip it, cd to its root folder,then:

python setup.py build_ext -i

Add the following line to your .bashrc.ext

export PYTHONPATH=$PYTHONPATH:/path/to/your/copy/of/pixell-master

Installing other needed packages:

conda install pyyaml
conda install astropy
conda install -c conda-forge healpy

How to run the Gaussian simulation code:

  • From the xcorr directory, run: python generate_mocks.py --path2config path/to/your/favorite/config.yaml
  • Config file example: configs/gg-gdg-dgdg-LSSTxSO-curved.yaml

How to compute Cls:

  • From the xcorr directory, run: python compute_cls.py --path2config path/to/your/favorite/config.yaml
  • Config file example: configs/cls-dgdg-curved.yaml

Main contributors (in alphabetical order):

  • Simone Ferraro (LBNL)
  • Alex Krolewski (Waterloo/PI)
  • Andrina Nicola (Princeton)
  • Emmanuel Schaan (LBNL)

About

Scripts for computing cross-correlations for SO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 90.8%
  • Python 9.1%
  • Shell 0.1%