From bbd1db32b4574a8eaec68ada7feb667f6a66eb88 Mon Sep 17 00:00:00 2001 From: nstarman Date: Tue, 5 Dec 2023 23:08:42 -0500 Subject: [PATCH] update Signed-off-by: nstarman --- docs/conf.py | 1 - src/cosmology/compat/classy/_standard.py | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index cede984..7bf9002 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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", diff --git a/src/cosmology/compat/classy/_standard.py b/src/cosmology/compat/classy/_standard.py index 9865d7f..5a248d9 100644 --- a/src/cosmology/compat/classy/_standard.py +++ b/src/cosmology/compat/classy/_standard.py @@ -53,7 +53,7 @@ def __post_init__(self) -> None: ) # ---------------------------------------------- - # HasTotalComponent + # TotalComponent @property def Omega_tot0(self) -> Array: @@ -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: @@ -100,7 +100,7 @@ def Omega_k(self, z: InputT, /) -> Array: raise NotImplementedError # ---------------------------------------------- - # HasMatterComponent + # MatterComponent @property def Omega_m0(self) -> Array: @@ -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: @@ -136,7 +136,7 @@ def Omega_b(self, z: InputT, /) -> Array: raise NotImplementedError # ---------------------------------------------- - # HasNeutrinoComponent + # NeutrinoComponent @property def Omega_nu0(self) -> Array: @@ -158,7 +158,7 @@ def Omega_nu(self, z: InputT, /) -> Array: raise NotImplementedError # ---------------------------------------------- - # HasDarkEnergyComponent + # DarkEnergyComponent @property def Omega_de0(self) -> Array: @@ -170,7 +170,7 @@ def Omega_de(self, z: InputT, /) -> Array: raise NotImplementedError # ---------------------------------------------- - # HasDarkMatterComponent + # DarkMatterComponent @property def Omega_dm0(self) -> Array: @@ -188,7 +188,7 @@ def Omega_dm(self, z: InputT, /) -> Array: raise NotImplementedError # ---------------------------------------------- - # HasPhotonComponent + # PhotonComponent @property def Omega_gamma0(self) -> Array: