Skip to content

Commit

Permalink
Add title
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 committed Aug 25, 2023
1 parent ce7003f commit 2098ebf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/demo_theory_functionality.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@
"## Side note regarding the Einasto profile (CCL and NC backends only)\n",
"\n",
"The Einasto profile is supported by both the CCL and NumCosmo backends. The value of the slope of the Einasto profile can be defined by the user, using the `alpha_ein` keyword. If `alpha_ein` is not provided, both backend revert to a default value for the Einasto slope:\n",
"- In CCL, the default Einasto slope depends on cosmology, redshift and halo mass. \n",
"- In CCL, the default Einasto slope depends on cosmology, redshift and halo mass.\n",
"- In NumCosmo, the default value is $\\alpha_{\\rm ein}=0.25$.\n",
"\n",
"**NB: for CCL, setting a user-defined value for the Einasto slope is only available for versions >= 2.6.** Earlier versions only allow the default option.\n",
Expand Down Expand Up @@ -476,6 +476,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Side note regarding the Einasto profile (CCL backend only)\n",
"\n",
"For CCL versions >= 2.8.1.dev73+g86125b08, the surface mass density profile can be calculated with the quad_vec numerial integration in addition to the default FFTLog. This option will increase the precision of the profile at large radii and can be enabled by passing `use_projected_quad` keyword argument to `compute_surface_density`."
]
},
Expand Down
4 changes: 3 additions & 1 deletion examples/demo_theory_functionality_oo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
"## Side note regarding the Einasto profile (CCL and NC backends only)\n",
"\n",
"The Einasto profile is supported by both the CCL and NumCosmo backends. The value of the slope of the Einasto profile $\\alpha_{\\rm ein}$ can be defined by the user, using the `set_einasto_alpha` method. If $\\alpha_{\\rm ein}$ is not provided, both backend revert to a default value for the Einasto slope:\n",
"- In CCL, the default Einasto slope depends on cosmology, redshift and halo mass. \n",
"- In CCL, the default Einasto slope depends on cosmology, redshift and halo mass.\n",
"- In NumCosmo, the default value is $\\alpha=0.25$.\n",
"\n",
"**NB: for CCL, setting a user-defined value for the Einasto slope is only available for CCL version >= 2.6.** Earlier versions only allow the default option.\n",
Expand Down Expand Up @@ -306,6 +306,8 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Side note regarding the Einasto profile (CCL backend only)\n",
"\n",
"For CCL versions >= 2.8.1.dev73+g86125b08, the surface mass density profile can be calculated with the quad_vec numerial integration in addition to the default FFTLog. This option will increase the precision of the profile at large radii and can be enabled by calling `set_projected_quad(True)`."
]
},
Expand Down

0 comments on commit 2098ebf

Please sign in to comment.