Mock SZ observations from hydro-simulations
Please note that PyMSZ is still in developing mode.
Summary of set up
This package includes SZPack v1.1.1 library. It requires gsl (with headers files) and swig installed in your system for building this library. It is very easy with sudo apt-get install libgsl23 libgsl-dev swig python-dev
You may need manually link the libgsl.so.0 (sudo ln -s /usr/lib/x86_64-linux-gnu/libgsl.so.23.0.0 /usr/lib/x86_64-linux-gnu/libgsl.so.0
) to solve the ImportError: libgsl.so.0: cannot open shared object file: No such file or directory
Note for python3: You may first need to install python3-dev
. If you don’t have the symbol link python to python3, go to the folder cd pymsz/SZpacklib/python/
and modify the ‘Makefile’ by replacing ‘python’ with ‘python3’. Then go back to the pymsz folder cd ../../../
and run python3 setup.py install --user
.
Configuration
look at the wiki page for a simple test script. The functions inside this package are always documented.
Dependencies
numpy, scipy, astropy. SZpack requires gsl and swig
How to run tests
Please cite the relative papers when you use the code: for theoretical kinetic SZ effects, (please cite Baldi et al. 2018; for theoretical thermal SZ effects, (please cite Cui et al. 2018; for mock SZ-signals at any frequency, (please cite Chluba et al. 2012 & 2013)