ensemble_hic/rog_prior.py
def _single_structure_log_prob(self, structure):
        """
        Evaluates log-probability for a single structure

        :param structure: coordinates of a single structure
        :type structure: :class:`numpy.ndarray`

        :returns: log-probability
        :rtype: float
        """
        X = structure.reshape(-1,3)
        rg = radius_of_gyration(X)

        return -0.5 * self['k_rog'].value * (self['rog'].value - rg) ** 2

        Evaluates log-probability for a single structure

        :param structure: coordinates of a single structure
        :type structure: :class:`numpy.ndarray`

        :returns: log-probability
        :rtype: float
        
Evaluates log-probability for a single structure
Evaluates log - probability for a single structure
def _single_structure_log_prob(self, structure):
        X = structure.reshape(-1,3)
        rg = radius_of_gyration(X)
        return -0.5 * self['k_rog'].value * (self['rog'].value - rg) ** 2
def _single_structure_log_prob ( self , structure ) : X = structure . reshape ( - 1 , 3 ) rg = radius_of_gyration ( X ) return - 0.5 * self [ 'k_rog' ] . value * ( self [ 'rog' ] . value - rg ) ** 2
Evaluates log-probability for a single structure
Evaluates log - probability for a single structure
"""
        Evaluates log-probability for a single structure

        :param structure: coordinates of a single structure
        :type structure: :class:`numpy.ndarray`

        :returns: log-probability
        :rtype: float
        """
None
float
self
structure
coordinates of a single structure
coordinates of a single structure