Skip to content

nbatta/szar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

679ff2e · Jul 17, 2020
Jan 22, 2020
Oct 19, 2018
Jun 2, 2019
Jun 3, 2019
Jan 23, 2017
Nov 20, 2018
Jun 19, 2019
Jul 17, 2020
Jun 14, 2019
Jun 3, 2019
Apr 8, 2017
Oct 9, 2018
May 1, 2017
Jan 25, 2018

Repository files navigation

szar - (SZ) (A)strophysics (R)outines

Regal. Hungarian for sh*t or "I don't believe it" according to Urban Dictionary. But mostly a library for CMB foregrounds and SZ forecasting.

Installation

To install while working on the repo (with symlinks):

pip install -e .

otherwise

pip install .

Three non-trivial dependencies

Map manipulation https://github.com/msyriac/flipper

Map manipulation, statistics, cosmology theory and plotting https://github.com/msyriac/orphics

Gravitational lensing theory and analysis https://github.com/msyriac/alhazen

All three can be installed using the pip command found in any of their READMEs.

Test

Use the command

python tests/testCounts.py

To run all unit tests, use

python tests/unit_tests.py