This project is currently under active development!!!
BrahMap
is an optimal map-making framework for the future CMB experiments,
based on COSMOMAP2, as described in
Puglisi et al (2018).
BrahMap
is written Python with C++ extension handling the heavy computation.
It implements GLS map-making with PCG solver, taking into account the
block-band diagonal noise correlation matrix. This implementation offers
solvers of I, QU, and IQU maps.
Go to the quick start guide for a quick introduction to
map-making with BrahMap
. Refer to the API reference
for a completer reference to BrahMap
API.
BrahMap
can be installed with the following steps:
# Clone the repository
git clone --recursive https://github.com/anand-avinash/BrahMap.git
cd BrahMap
# Install the package
pip install .
# Alternatively, do an editable installation for development purpose
# followed by `pre-commit` install
pip install -e .
pre-commit install
BrahMap
uses Setuptools
to build the C++ extensions. By default, it creates the command for compilation
by collecting
several environment variables.
To change the compiler for the building the C++ extension, supply the
compiler name via CC
or CXX
variables:
CC=clang++ pip install .