Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
  • Loading branch information
nstarman committed Dec 6, 2023
1 parent f49b620 commit bbd1db3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def get_authors() -> set[str]:
"sphinx.ext.autosummary",
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"sphinx_automodapi.automodapi",
"matplotlib.sphinxext.plot_directive",
"numpydoc",
"pytest_doctestplus.sphinx.doctestplus",
Expand Down
16 changes: 8 additions & 8 deletions src/cosmology/compat/classy/_standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __post_init__(self) -> None:
)

# ----------------------------------------------
# HasTotalComponent
# TotalComponent

@property
def Omega_tot0(self) -> Array:
Expand Down Expand Up @@ -88,7 +88,7 @@ def Omega_tot(self, z: InputT, /) -> Array:
# Basically just return np.ones_like(z)

# ----------------------------------------------
# HasGlobalCurvatureComponent
# CurvatureComponent

@property
def Omega_k0(self) -> Array:
Expand All @@ -100,7 +100,7 @@ def Omega_k(self, z: InputT, /) -> Array:
raise NotImplementedError

# ----------------------------------------------
# HasMatterComponent
# MatterComponent

@property
def Omega_m0(self) -> Array:
Expand All @@ -118,7 +118,7 @@ def Omega_m(self, z: InputT, /) -> Array:
return np.asarray(self._cosmo_fn["Om_m"](z))

# ----------------------------------------------
# HasBaryonComponent
# BaryonComponent

@property
def Omega_b0(self) -> Array:
Expand All @@ -136,7 +136,7 @@ def Omega_b(self, z: InputT, /) -> Array:
raise NotImplementedError

# ----------------------------------------------
# HasNeutrinoComponent
# NeutrinoComponent

@property
def Omega_nu0(self) -> Array:
Expand All @@ -158,7 +158,7 @@ def Omega_nu(self, z: InputT, /) -> Array:
raise NotImplementedError

# ----------------------------------------------
# HasDarkEnergyComponent
# DarkEnergyComponent

@property
def Omega_de0(self) -> Array:
Expand All @@ -170,7 +170,7 @@ def Omega_de(self, z: InputT, /) -> Array:
raise NotImplementedError

# ----------------------------------------------
# HasDarkMatterComponent
# DarkMatterComponent

@property
def Omega_dm0(self) -> Array:
Expand All @@ -188,7 +188,7 @@ def Omega_dm(self, z: InputT, /) -> Array:
raise NotImplementedError

# ----------------------------------------------
# HasPhotonComponent
# PhotonComponent

@property
def Omega_gamma0(self) -> Array:
Expand Down

0 comments on commit bbd1db3

Please sign in to comment.