Skip to content

Commit

Permalink
comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Aug 21, 2023
1 parent a9a74f0 commit 9b70d5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions camb/reionization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -18,15 +18,15 @@ 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,
"Reionization fraction when complete, or -1 for full ionization of hydrogen and first ionization of helium."),
("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"),
Expand Down
4 changes: 2 additions & 2 deletions docs/ScalEqs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -2141,7 +2141,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 9b70d5e

Please sign in to comment.