Skip to content

toltec-astro/minkasi_wrapper

Repository files navigation

A Wrapper for the Minkasi Map Maker

Powered by Astropy Badge

This package wraps the Minkasi map mapker as an external map maker package for the TolTEC camera.

Minkasi Map Maker

Minkasi is a Python/C-based mapper for Mustang.

TODO: add credit and license of Minkasi.

Installation

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

Usage

High-level API

To be implemented.

Low-level API

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.

License

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.

About

A wrapper of minkasi map maker for TolTEC.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages