Skip to content

Commit

Permalink
update nbs to newer CLMM API
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aguena committed Sep 7, 2023
1 parent 71efa67 commit 18e2387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/Paper_v1.0/gt_and_use_case.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
" photoz_sigma_unscaled=0.05, # Photo-z errors to source redshifts\n",
" field_size=field_size,\n",
" ngal_density=20, # number of gal/arcmin2 for z in [0, infty]\n",
" pzpdf_type='individual_bins',\n",
")[\"ra\", \"dec\", \"e1\", \"e2\", \"z\", \"ztrue\", \"pzbins\", \"pzpdf\", \"id\"]\n",
"print(f'Catalog table with the columns: {\", \".join(mock_galaxies.colnames)}')\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions examples/demo_boost_factors.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@
"metadata": {},
"outputs": [],
"source": [
"nfw_boost = u.compute_nfw_boost(cl.DeltaSigma_profile[\"radius\"], rs=1000, b0=0.1)\n",
"nfw_boost = u.compute_nfw_boost(cl.DeltaSigma_profile[\"radius\"], rscale=1000, boost0=0.1)\n",
"\n",
"powerlaw_boost = u.compute_powerlaw_boost(\n",
" cl.DeltaSigma_profile[\"radius\"], rs=1000, b0=0.1, alpha=-1.0\n",
" cl.DeltaSigma_profile[\"radius\"], rscale=1000, boost0=0.1, alpha=-1.0\n",
")"
]
},
Expand Down

0 comments on commit 18e2387

Please sign in to comment.