Skip to content

Commit

Permalink
Merge pull request #180 from msyriac/tsz_nside
Browse files Browse the repository at this point in the history
Change default nside for tSZ to 8192
  • Loading branch information
zonca authored May 20, 2024
2 parents b154253 + 07d1ac0 commit e9ed4c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Cosmic Infrared Background
Sunyaev–Zeldovich emission
==========================

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

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

Expand Down
7 changes: 6 additions & 1 deletion pysm3/models/websky.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,15 @@ def __init__(
nside,
version="0.4",
sz_type="kinetic",
max_nside=4096,
max_nside=None,
map_dist=None,
):

if max_nside is None:
if sz_type=='kinetic':
max_nside = 4096
if sz_type=='thermal':
max_nside = 8192
super().__init__(nside=nside, max_nside=max_nside, map_dist=map_dist)
self.version = str(version)
self.sz_type = sz_type
Expand Down

0 comments on commit e9ed4c1

Please sign in to comment.