Skip to content

Commit

Permalink
update notebook and version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Feb 17, 2022
1 parent 1124228 commit 00082a8
Show file tree
Hide file tree
Showing 4 changed files with 14,519 additions and 13,156 deletions.
2 changes: 1 addition & 1 deletion camb/postborn.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_field_rotation_power(params, kmax=100, lmax=20000, non_linear=True, z_so
k_per_logint=None, acc=1, lsamp=None):
r"""
Get field rotation power spectrum, :math:`C_L^{\omega\omega}`,
following `arXiv:1605.05662 <https://arxiv.org/abs/1605.05662>`_. Uses lowest Limber approximation.
following `arXiv:1605.05662 <https://arxiv.org/abs/1605.05662>`_. Uses the lowest Limber approximation.
:param params: :class:`.model.CAMBparams` instance with cosmological parameters etc.
:param kmax: maximum k (in :math:`{\rm Mpc}^{-1}` units)
Expand Down
4 changes: 2 additions & 2 deletions camb/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,10 +650,10 @@ def get_background_densities(self, a, vars=model.density_names, format='dict'):

def get_dark_energy_rho_w(self, a):
"""
Get dark energy density in units of the dark energy density today, and w=P/rho
Get dark energy density in units of the dark energy density today, and :math:`w=P/\rho`
:param a: scalar factor or array of scale factors
:return: rho, w arrays at redshifts 1/a-1 [or scalars if a is scalar]
:return: rho, w arrays at redshifts :math:`1/a-1` [or scalars if :math:`a` is scalar]
"""
if np.isscalar(a):
scales = np.array([a])
Expand Down
Loading

0 comments on commit 00082a8

Please sign in to comment.