Skip to content
/ pysm Public

PySM 3: Sky emission simulations for Cosmic Microwave Background experiments

License

Notifications You must be signed in to change notification settings

galsci/pysm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

72c26c6 · Oct 29, 2021
Aug 1, 2021
Feb 27, 2019
Oct 28, 2021
Oct 29, 2021
Oct 29, 2021
Oct 29, 2021
Jun 30, 2021
Dec 12, 2018
Oct 27, 2021
Oct 29, 2021
Aug 4, 2021
Aug 1, 2021
Jun 30, 2021
Oct 27, 2021
Dec 12, 2018
Oct 7, 2021
Jun 3, 2020
Oct 28, 2021
Jun 30, 2021
Oct 28, 2021

Repository files navigation

CI Tests Documentation Status PyPI Conda Astropy JOSS

PySM 3

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.

Related scientific papers

See CITATION

Install

See the documentation

  • Install with pip install . or with pip 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 and libsharp, check the documentation link above for more details.
  • Check code style with tox -e codestyle
  • Test with pytest or tox -e test
  • Building docs requires pandoc, not the python package, the actual pandoc command line tool, install it with conda or your package manager
  • Build docs locally with tox -e build_docs

Support

For any question or issue with the software open an issue.

Release

  • Tag the new version with git
  • pip install build --upgrade
  • python -m build --sdist --wheel .
  • twine upload dist/*