Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default nside for tSZ to 8192 #180

Merged
merged 1 commit into from
May 20, 2024
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
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
Loading