A python 3 implementation for calculation of various Sunyaev -Zeldovich effects.
Project description
ntsz
This package enables the compution of the spectral distortion in the specific intensity of the CMB due to the Sunyaev-Zeldovich effect for the following models describing the momenta distribution of the scattering electrons:
- Maxwell-Juettner distribution with a given kinetic temperature.
- Single power-law with a minimum and maximum momenta, and an index.
- Broken power-law with a flat spectrum from minimum to break momentum and then a power-law with a negative index to maximum momentum.
While the first model results in the thermal SZ spectrum with relativistic corrections (referred to as rSZ), the power-law models result in the non-thermal SZ (ntSZ) effect.
Installation
With pip:
pip install ntsz
Test
Test your installation with:
python -m unittest discover
Usage
The example_notebook.ipynb can be used to familiarise oneself with the package. The user is referred to documentation for further information on other tools available with this package.
References
The computation of the SZ spectra follows the formalism described here:
[1] Ensslin & Kaiser (2000): Comptonization of the Cosmic Microwave Background by Relativistic Plasma, arXiv:0001429v2.
The kSZ effect is estimated using the formalism presented in:
[2] Mroczkowski, T., et. al. (2019): Astrophysics with the Spatially and Spectrally Resolved Sunyaev-Zeldovich Effects: A Millimetre/Submillimetre Probe of the Warm and Hot Universe, arXiv:1811.02310.
Acknowledgement
If you found this package useful for your work, please cite the following papers:
[1] Vyoma Muralidhara & Kaustuv Basu (2024): Constraining the average magnetic field in galaxy clusters with current and upcoming CMB surveys, DOI: 10.1088/1475-7516/2024/11/010. BibTex entry:
@article{Muralidhara:2024ipg,
author = "Muralidhara, Vyoma and Basu, Kaustuv",
title = "{Constraining the average magnetic field in galaxy clusters with current and upcoming CMB surveys}",
eprint = "2402.17445",
archivePrefix = "arXiv",
primaryClass = "astro-ph.CO",
doi = "10.1088/1475-7516/2024/11/010",
journal = "JCAP",
volume = "11",
pages = "010",
year = "2024"
}
[2] Ensslin & Kaiser (2000): Comptonization of the Cosmic Microwave Background by Relativistic Plasma, arXiv:0001429v2. BibTex entry:
@article{Ensslin:2000mk,
author = "Ensslin, Torsten A. and Kaiser, Christian R.",
title = "{Comptonization of the cosmic microwave background by relativistic plasma}",
eprint = "astro-ph/0001429",
archivePrefix = "arXiv",
journal = "Astron. Astrophys.",
volume = "360",
pages = "417--430",
year = "2000"
}
License
Copyright 2025 Vyoma Muralidhara.
ntsz is free software made available under the MIT License. For details see the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ntsz-1.2.tar.gz.
File metadata
- Download URL: ntsz-1.2.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17ec1f7da974e68f0f65280daa8b74ecc17ea2cd9bfb0ca462beb8d7cf030b46
|
|
| MD5 |
a0d53969ae1335f1f79de412312bc9b9
|
|
| BLAKE2b-256 |
af3abe1e335a8f20154ac0402ca1cb694a4234d72bb1591f07f04ef2b047e090
|
File details
Details for the file ntsz-1.2-py3-none-any.whl.
File metadata
- Download URL: ntsz-1.2-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9db2aa0b55292a8d46aa82bd9da322baddcdc023227bf72cc706f2fb618b4b7a
|
|
| MD5 |
67a559f8bb1ce2a4c1788f40e910024e
|
|
| BLAKE2b-256 |
c61baa8aef569f6d79316cbc17cf34f67b6f159f8851b5e73721e7cec561ac31
|