pystella/expansion.py
def constraint(self, energy):
        """
        A dimensionless measure of the satisfaction of the first Friedmann equation
        (as a constraint on the evolution), equal to

        .. math::

            \\left\\vert \\frac{1}{\\mathcal{H}}
            \\sqrt{\\frac{8 \\pi a^2}{3 m_\\mathrm{pl}^2} \\rho} - 1
            \\right\\vert

        where :math:`\\mathcal{H}` the current conformal Hubble parameter,
        :math:`\\partial_\\tau a / a`.

        :arg energy: The current energy density, :math:`\\bar{\\rho}`.
        """

        return np.abs(self.adot_friedmann_1(self.a[0], energy) / self.adot[0] - 1)

        A dimensionless measure of the satisfaction of the first Friedmann equation
        (as a constraint on the evolution), equal to

        .. math::

            \\left\\vert \\frac{1}{\\mathcal{H}}
            \\sqrt{\\frac{8 \\pi a^2}{3 m_\\mathrm{pl}^2} \\rho} - 1
            \\right\\vert

        where :math:`\\mathcal{H}` the current conformal Hubble parameter,
        :math:`\\partial_\\tau a / a`.

        :arg energy: The current energy density, :math:`\\bar{\\rho}`.
        
A dimensionless measure of the satisfaction of the first Friedmann equation
(as a constraint on the evolution), equal to






A dimensionless measure of the satisfaction of the first Friedmann equation ( as a constraint on the evolution ) equal to
def constraint(self, energy):
        return np.abs(self.adot_friedmann_1(self.a[0], energy) / self.adot[0] - 1)
def constraint ( self , energy ) : return np . abs ( self . adot_friedmann_1 ( self . a [ 0 ] , energy ) / self . adot [ 0 ] - 1 )
A dimensionless measure of the satisfaction of the first Friedmann equation
(as a constraint on the evolution), equal to
A dimensionless measure of the satisfaction of the first Friedmann equation ( as a constraint on the evolution ) equal to
"""
        A dimensionless measure of the satisfaction of the first Friedmann equation
        (as a constraint on the evolution), equal to

        .. math::

            \\left\\vert \\frac{1}{\\mathcal{H}}
            \\sqrt{\\frac{8 \\pi a^2}{3 m_\\mathrm{pl}^2} \\rho} - 1
            \\right\\vert

        where :math:`\\mathcal{H}` the current conformal Hubble parameter,
        :math:`\\partial_\\tau a / a`.

        :arg energy: The current energy density, :math:`\\bar{\\rho}`.
        """
self
energy
The current energy density, :math:`\\bar{\\rho}`.
The current energy density : math : ` \\ bar { \\ rho } ` .
math
None