Skip to content

Commit

Permalink
test: update tests for SimpleSZ
Browse files Browse the repository at this point in the history
  • Loading branch information
zonca committed Jul 23, 2024
1 parent c59ee7a commit c1e6d30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions pysm3/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
SPT_CIB_map_scaling,
WebSkyCMB,
WebSkyCIB,
WebSkySZ,
WebSkyRadioGalaxies,
AgoraSZ
SimpleSZ,
WebSkyRadioGalaxies
)
4 changes: 2 additions & 2 deletions pysm3/tests/test_websky.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .. import (
SPT_CIB_map_scaling,
WebSkyCIB,
WebSkySZ,
SimpleSZ,
WebSkyRadioGalaxies,
) # , WebSkyCMBTensor

Expand Down Expand Up @@ -126,7 +126,7 @@ def test_sz(tmp_path, monkeypatch, sz_type):
test_map *= 1e-6
hp.write_map(path / filename, test_map)

tsz = WebSkySZ(nside, "0.4", sz_type=sz_type)
tsz = SimpleSZ(nside, template_name=str(path/filename), sz_type=sz_type, max_nside=8192)

freq = 100 * u.GHz
tsz_map = tsz.get_emission(freq).to(u.uK_CMB, equivalencies=u.cmb_equivalencies(freq))
Expand Down

0 comments on commit c1e6d30

Please sign in to comment.