Skip to content

Commit

Permalink
updated spectra filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesAmato committed Feb 28, 2025
1 parent 88d2c0f commit 507547c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions change_minimal_213_ONLY.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
"metadata": {},
"outputs": [],
"source": [
"import healpy as hp\n",
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import pysm3\n",
"import pysm3.units as u\n",
"from pysm3.models.cmb import CMBMap\n",
"from pysm3.models.cmb import CMBLensed as CMBLensedOriginal"
Expand Down Expand Up @@ -44,19 +42,19 @@
"name": "stdout",
"output_type": "stream",
"text": [
"operands could not be broadcast together with shapes (2201,) (2,) \n"
"operands could not be broadcast together with shapes (2199,) (2,) \n"
]
}
],
"source": [
"try:\n",
" will_crash = CMBLensedOriginal(\n",
" nside=128,\n",
" cmb_spectra=\"demo_powerspectra/c1_ps_l01.dat\",\n",
" cmb_spectra='pysm_2/camb_lenspotentialCls.dat',\n",
" # max_nside=None,\n",
" # cmb_seed=0,\n",
" apply_delens=True,\n",
" delensing_ells=\"demo_powerspectra/c1_delensing_ells.dat\",\n",
" delensing_ells='pysm_2/delens_ells.txt',\n",
" # map_dist=None,\n",
" )\n",
"except ValueError as e:\n",
Expand Down Expand Up @@ -155,11 +153,11 @@
"try:\n",
" will_run = CMBLensedRevised(\n",
" nside=128,\n",
" cmb_spectra=\"demo_powerspectra/c1_ps.dat\",\n",
" cmb_spectra='pysm_2/camb_lenspotentialCls.dat',\n",
" # max_nside=None,\n",
" # cmb_seed=0,\n",
" apply_delens=True,\n",
" delensing_ells=\"demo_powerspectra/c1_delensing_ells.dat\",\n",
" delensing_ells='pysm_2/delens_ells.txt',\n",
" # map_dist=None,\n",
" )\n",
" print(\"Successful run.\")\n",
Expand Down

0 comments on commit 507547c

Please # to comment.