ensemble_hic/npsamplers.py
def _get_prior(self):
        """
        Retrieves the prior distribution object associated with the
        scaling factor variable

        :returns: prior distribution object
        :rtype: :class:`.NormGammaPrior`
        """
        prior = filter(lambda p: 'norm' in p.variables, self.pdf.priors.values())[0]
        
        return prior

        Retrieves the prior distribution object associated with the
        scaling factor variable

        :returns: prior distribution object
        :rtype: :class:`.NormGammaPrior`
        
Retrieves the prior distribution object associated with the
scaling factor variable
Retrieves the prior distribution object associated with the scaling factor variable
def _get_prior(self):
        prior = filter(lambda p: 'norm' in p.variables, self.pdf.priors.values())[0]
        return prior
def _get_prior ( self ) : prior = filter ( lambda p : 'norm' in p . variables , self . pdf . priors . values ( ) ) [ 0 ] return prior
Retrieves the prior distribution object associated with the
scaling factor variable
Retrieves the prior distribution object associated with the scaling factor variable
"""
        Retrieves the prior distribution object associated with the
        scaling factor variable

        :returns: prior distribution object
        :rtype: :class:`.NormGammaPrior`
        """
prior distribution object
prior distribution object
:class:`.NormGammaPrior`
self