Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ See the `documentation <https://pysm3.readthedocs.io/en/latest/#installation>`_

* 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.
* This repository uses Git LFS for Jupyter notebook files (*.ipynb). Ensure Git LFS is installed and run ``git lfs pull`` after cloning to fetch large files.
* This repository uses Git LFS for Jupyter notebook files (``*.ipynb``). Ensure Git LFS is installed and run ``git lfs pull`` after cloning to fetch large files.
* Check code style with ``uv run flake8 src/pysm3 --count --max-line-length=100``
* Test with ``uv run pytest -v``
* Building docs requires ``pandoc``, not the python package, the actual ``pandoc`` command line tool, install it with conda or your package manager
Expand All @@ -54,6 +54,7 @@ Release

uv venv .venv
uv pip install --python .venv/bin/python pip hatch
uv pip install --python .venv/bin/python -e .[test]

Activate it for the remaining steps with ``source .venv/bin/activate``.
4. Run the test suite (at least ``pytest``) to verify the release build.
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ high-resolution templates shipped with PySM.
Synchrotron curvature modelling <preprocess-templates/synchrotron_curvature>
Log-pol-tens formalism notebook <preprocess-templates/synchrotron_template_logpoltens>
WebSky bright source catalog workflow <preprocess-templates/websky_sources_high_flux_catalog>
Compare WebSky and Agora SZ templates <preprocess-templates/verify_templates/compare_websky_agora_sz>
Verify dust templates <preprocess-templates/verify_templates/verify_templates_dust>
Verify synchrotron templates <preprocess-templates/verify_templates/verify_templates_synch>

Expand Down
2 changes: 1 addition & 1 deletion docs/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Sunyaev–Zeldovich emission

- **tsz3**: Lensed Thermal SZ emission from the `Agora simulations <https://doi.org/10.1093/mnras/stae1031>`_. Available at $N_{side}=8192$.

- **tsz4**: Thermal SZ emission from the `HalfDome simulations <https://doi.org/10.48550/arXiv.2407.17462>`_ 0.1 (generated using xgpaint with Battaglia16 profiles). Eleven realizations available at $N_{side}=8192$ by overriding the `template_name` with seeds: 100 (default), 102, 104, 106, 108, 110, 112, 114, 116, 118, 120. For example: `halfdome/0.1/tsz/y_b16_halo_res1_s102.fits`. For more details see :ref:`halfdome`.
- **tsz4**: Thermal SZ emission from the `HalfDome simulations <https://doi.org/10.48550/arXiv.2407.17462>`_ 0.1 (generated using xgpaint with Battaglia16 profiles). Eleven realizations available at $N_{side}=8192$ by overriding the `template_name` with seeds: 100 (default), 102, 104, 106, 108, 110, 112, 114, 116, 118, 120. For example: `halfdome/0.1/tsz/y_b16_halo_res1_s102.fits`.

- **ksz1**: Kinetic SZ emission from WebSky 0.4. Available at $N_{side}=4096$. For more details see :ref:`websky`.

Expand Down
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ numba
numpy
healpy
ipykernel
pandoc
sphinx-astropy
sphinx-math-dollar
nbsphinx
10 changes: 4 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ dependencies = [
"h5py",
"scipy >= 1.10, < 1.15",
"healpy >= 1.16.0",
"importlib_metadata;python_version<'3.8'",
"numba",
"numpy >= 1.21",
"toml",
Expand Down Expand Up @@ -62,7 +61,6 @@ docs = [
"ipykernel",
"matplotlib",
"nbsphinx",
"pandoc",
"sphinx-pyproject",
"sphinx-astropy",
"sphinx-math-dollar",
Expand Down Expand Up @@ -94,12 +92,12 @@ version-file = "src/pysm3/_version.py"

[tool.hatch.build.targets.sdist]
include = [
"/src/pysm3",
]
packages = [
"src/pysm3",
"/src/pysm3/**",
]

[tool.hatch.build.targets.sdist.force-include]
"src/pysm3/data/presets.cfg" = "src/pysm3/data/presets.cfg"

[tool.hatch.build.targets.wheel]
include = [
"/src/pysm3/**",
Expand Down
Loading