This package wraps the Minkasi map mapker as an external map maker package for the TolTEC camera.
Minkasi is a Python/C-based mapper for Mustang.
TODO: add credit and license of Minkasi.
Minkasi depends on fftw3, and requires an OpenMP-capable C compiler to work.
On macOS, this can be done with Homebrew:
$ brew install llvm libomp fftw3
$ export CC=/usr/local/opt/bin/clang
$ export LDFLAGS=-L/usr/local/opt/llvm/lib
$ export CPPFLAGS=-I/usr/local/opt/llvm/include
On Ubuntu, install the packages with:
$ sudo apt install gcc-10 fftw-dev
One can also use customized FFTW installation. This leverages the
pkg-config stub that gets created in the fftw lib path:
$ export PKG_CONFIG_PATH=/path/to/fftw3/install/prefix/lib/pkgconfig
Once the preparation is done, install minkasi_wrapper with pip:
$ pip install git+https://github.com/toltec-astro/minkasi_wrapper
To be implemented.
The minkasi_wrapper module exposes the low level minkasi.py API
as the minkasi_wrapper.minkasi submodule:
from minkasi_wrapper import minkasi
tod = minkasi.Tod(...)Please see the API documentation for details.
This project is Copyright (c) Zhiyuan Ma and licensed under the terms of the BSD 3-Clause license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause license. See the licenses folder for more information.