class_docstr: Fitness for point measures
  
  Parameters
  ----------
  gamma : float
      specifies the prior on the number of bins: p ~ gamma^N
      if gamma is not specified, then a prior based on simulations
      will be used (see sec 3.3 of Scargle 2012)
class_docstr_tok: ["Fitness","for","point","measures","Parameters","--","--","--","--","--","gamma",":","float","specifies","the","prior","on","the","number","of","bins",":","p","~","gamma^N","if","gamma","is","not","specified",",","then","a","prior","based","on","simulations","will","be","used","(","see","sec","3.3","of","Scargle","2012",")"]
code: def prior(self, N, Ntot):
      if self.gamma is not None:
          return self.gamma_prior(N, Ntot)
      elif self.p0 is not None:
          return self.p0_prior(N, Ntot)
      else:
          # eq. at end of sec 3.3 in Scargle 2012
          return 1.32 + 0.577 * np.log10(N)
  
imports: import numpy
  from astroML.utils import deprecated
  from astroML.utils.exceptions import AstroMLDeprecationWarning
label_desc: Use image node_id 3 for calling the PointMeasures obj's underlying member method code with example usage: obj.prior(N, Ntot) and returns: self, self, unknown