PySM generates full-sky simulations of Galactic emissions in intensity and polarization relevant to CMB experiments. It is a large refactor of PySM 2 focused on reducing memory usage, improving performance and run in parallel with MPI.
See the documentation at https://pysm3.readthedocs.io
See changes in CHANGES.rst
in the repository.
See CITATION
- The Python Sky Model 3 software (Zonca et al, 2021)
- The Python Sky Model: software for simulating the Galactic microwave sky (Thorne et al, 2017)
See the documentation
- Install with
pip install .
or withpip install .[test]
to also install the requirements for running tests - Optionally, if you have an MPI environment available and you would like to test the MPI capabilities of PySM, install
mpi4py
andlibsharp
, check the documentation link above for more details. - Check code style with
tox -e codestyle
- Test with
pytest
ortox -e test
- Building docs requires
pandoc
, not the python package, the actualpandoc
command line tool, install it with conda or your package manager - Build docs locally with
tox -e build_docs
For any question or issue with the software open an issue.
- Tag the new version with git
pip install build --upgrade
python -m build --sdist --wheel .
twine upload dist/*