ensemble_hic/backbone_prior.py
def _single_structure_gradient(self, structure, ll, ul):
        """Evaluates gradient of energy for a single structure

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

        :param ll: lower distance limits for consecutive beads.
                   This will have length # of beads - 1
        :type ll: :class:`numpy.ndarray`

        :param ul: upper distance limits for consecutive beads.
                   This will have length # of beads - 1
        :type ul: :class:`numpy.ndarray`

        :returns: gradient vector
        :rtype: :class:`numpy.ndarray`
        """
        
        return backbone_prior_gradient(structure.ravel(), ll, ul, self['k_bb'].value)
Evaluates gradient of energy for a single structure

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

        :param ll: lower distance limits for consecutive beads.
                   This will have length # of beads - 1
        :type ll: :class:`numpy.ndarray`

        :param ul: upper distance limits for consecutive beads.
                   This will have length # of beads - 1
        :type ul: :class:`numpy.ndarray`

        :returns: gradient vector
        :rtype: :class:`numpy.ndarray`
        
Evaluates gradient of energy for a single structure
Evaluates gradient of energy for a single structure
def _single_structure_gradient(self, structure, ll, ul):
        return backbone_prior_gradient(structure.ravel(), ll, ul, self['k_bb'].value)
def _single_structure_gradient ( self , structure , ll , ul ) : return backbone_prior_gradient ( structure . ravel ( ) , ll , ul , self [ 'k_bb' ] . value )
Evaluates gradient of energy for a single structure
Evaluates gradient of energy for a single structure
"""Evaluates gradient of energy for a single structure

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

        :param ll: lower distance limits for consecutive beads.
                   This will have length # of beads - 1
        :type ll: :class:`numpy.ndarray`

        :param ul: upper distance limits for consecutive beads.
                   This will have length # of beads - 1
        :type ul: :class:`numpy.ndarray`

        :returns: gradient vector
        :rtype: :class:`numpy.ndarray`
        """
None
:class:`numpy.ndarray`
self
structure
coordinates of a single structure
coordinates of a single structure
ll
lower distance limits for consecutive beads.
This will have length # of beads - 1
lower distance limits for consecutive beads . This will have length # of beads - 1
ul
upper distance limits for consecutive beads.
This will have length # of beads - 1
upper distance limits for consecutive beads . This will have length # of beads - 1