Authors: Adri J. Duivenvoorden and Jon E. Gudmundsson
contact: adri.duivenvoorden@fysik.su.se
Simulate the scanning of the CMB sky while incorporating realistic beams and scan strategies.
This code uses (spin-)spherical harmonic representations of the (polarized) beam response and sky to generate simulated CMB detector signal timelines. Beams can be arbitrarily shaped. Pointing timelines can be read in or calculated on the fly. Optionally, the results can be binned on the sphere.
See example scripts beamconv/test.py
and Jupyter notebooks in notebooks
.
Apart from the standard libraries, NumPy, Healpy, and Matplotlib, this code makes use of qpoint, a lightweight quaternion-based library for telescope pointing, written by Sasha Rahlin. The code has been tested with Python 2.7 and 3.6.
python setup.py install --user
run unittests:
python setup.py test