Skip to content

Commit

Permalink
Update generate_einasto_hernquist_benchmarks_fromNC.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 committed Jun 29, 2023
1 parent cc9e339 commit f96f432
Show file tree
Hide file tree
Showing 2 changed files with 108 additions and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,16 @@
"metadata": {},
"outputs": [],
"source": [
"mdef = ccl.halos.MassDef(mass_Delta, 'matter')\n",
"conc = ccl.halos.ConcentrationConstant(c=cluster_concentration, mass_def=mdef)\n",
"ccl_ein = ccl.halos.HaloProfileEinasto(\n",
" ccl.halos.ConcentrationConstant(cluster_concentration), truncated=False\n",
" mass_def=mdef,\n",
" concentration=conc\n",
")\n",
"alpha_einasto = ccl_ein._get_alpha(\n",
" cosmo_ccl.be_cosmo,\n",
" cluster_mass,\n",
" 1 / (1 + z_cluster),\n",
" ccl.halos.massdef.MassDef(\n",
" mass_Delta, \"matter\", ccl.halos.ConcentrationConstant(cluster_concentration)\n",
" ),\n",
" 1 / (1 + z_cluster)\n",
")\n",
"print(alpha_einasto)"
]
Expand Down Expand Up @@ -667,9 +667,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.11",
"language": "python",
"name": "python3"
"name": "python3.11"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -681,7 +681,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit f96f432

Please sign in to comment.