From 9b70d5ecb68bae6318b63212087d906af6e971af Mon Sep 17 00:00:00 2001 From: Antony Lewis Date: Mon, 21 Aug 2023 13:54:00 +0100 Subject: [PATCH] comment typos --- camb/reionization.py | 6 +++--- docs/ScalEqs.ipynb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/camb/reionization.py b/camb/reionization.py index 8b3f2ab1..e310efcd 100644 --- a/camb/reionization.py +++ b/camb/reionization.py @@ -7,7 +7,7 @@ class ReionizationModel(F2003Class): Abstract base class for reionization models. """ _fields_ = [ - ("Reionization", c_bool, "Is there reionization? (can be off for matter power which is independent of it)")] + ("Reionization", c_bool, "Is there reionization? (can be off for matter power, which is independent of it)")] @fortran_class @@ -18,7 +18,7 @@ class TanhReionization(ReionizationModel): """ _fields_ = [ ("use_optical_depth", c_bool, "Whether to use the optical depth or redshift paramters"), - ("redshift", c_double, "Reionization redshift if use_optical_depth-False"), + ("redshift", c_double, "Reionization redshift if use_optical_depth=False"), ("optical_depth", c_double, "Optical depth if use_optical_depth=True"), ("delta_redshift", c_double, "Duration of reionization"), ("fraction", c_double, @@ -26,7 +26,7 @@ class TanhReionization(ReionizationModel): ("include_helium_fullreion", c_bool, "Whether to include second reionization of helium"), ("helium_redshift", c_double, "Redshift for second reionization of helium"), ("helium_delta_redshift", c_double, "Width in redshift for second reionization of helium"), - ("helium_redshiftstart", c_double, "Include second helium reionizatio below this redshift"), + ("helium_redshiftstart", c_double, "Include second helium reionization below this redshift"), ("tau_solve_accuracy_boost", c_double, "Accuracy boosting parameter for solving for z_re from tau"), ("timestep_boost", c_double, "Accuracy boosting parameter for the minimum number of time sampling steps through reionization"), diff --git a/docs/ScalEqs.ipynb b/docs/ScalEqs.ipynb index ea6aad0d..155e7240 100644 --- a/docs/ScalEqs.ipynb +++ b/docs/ScalEqs.ipynb @@ -275,7 +275,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Newtonian gauge variables $\\Psi_N$ and $\\Phi_N$ (not used in CAMB but may be useful) defined for metrix sign choices so flat metric is\n", + "Newtonian gauge variables $\\Psi_N$ and $\\Phi_N$ (not used in CAMB but may be useful) defined for metric sign choices so flat metric is\n", "$$ds^2 = a(\\eta)^2\\left( (1+2\\Psi_N)d\\eta^2 - (1-2\\Phi_N)\\delta_{ij}dx^idx^j\\right)$$\n", "(default, as defined by [Ma and Bertschinger](https://arxiv.org/abs/astro-ph/9506072), number count and 21cm papers, etc.) Definitions are also valid for non-flat.\n", "\n", @@ -2141,7 +2141,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.0" + "version": "3.11.4" } }, "nbformat": 4,