ensemble_hic/npsamplers.py
def _check_gamma_prior(self, prior):
        """
        Checks whether retrieved prior distribution is in fact a Gamma
        distribution

        :param prior: a prior distribution object
        :type prior: :class:`binf.pdf.priors.AbstractPrior`

        :returns: isn't this self-documenting??
        :rtype: bool
        """
        from .gamma_prior import GammaPrior
        
        return isinstance(prior, GammaPrior)

        Checks whether retrieved prior distribution is in fact a Gamma
        distribution

        :param prior: a prior distribution object
        :type prior: :class:`binf.pdf.priors.AbstractPrior`

        :returns: isn't this self-documenting??
        :rtype: bool
        
Checks whether retrieved prior distribution is in fact a Gamma
distribution
Checks whether retrieved prior distribution is in fact a Gamma distribution
def _check_gamma_prior(self, prior):
        from .gamma_prior import GammaPrior
        return isinstance(prior, GammaPrior)
def _check_gamma_prior ( self , prior ) : from . gamma_prior import GammaPrior return isinstance ( prior , GammaPrior )
Checks whether retrieved prior distribution is in fact a Gamma
distribution
Checks whether retrieved prior distribution is in fact a Gamma distribution
"""
        Checks whether retrieved prior distribution is in fact a Gamma
        distribution

        :param prior: a prior distribution object
        :type prior: :class:`binf.pdf.priors.AbstractPrior`

        :returns: isn't this self-documenting??
        :rtype: bool
        """
None
bool
self
prior
a prior distribution object
a prior distribution object