class_docstr: Fitness for regular events
  
  This is for data which has a fundamental "tick" length, so that all
  measured values are multiples of this tick length.  In each tick, there
  are either zero or one counts.
  
  Parameters
  ----------
  dt : float
      tick rate for data
  gamma : float
      specifies the prior on the number of bins: p ~ gamma^N
class_docstr_tok: ["Fitness","for","regular","events","This","is","for","data","which","has","a","fundamental","``","tick","''","length",",","so","that","all","measured","values","are","multiples","of","this","tick","length",".","In","each","tick",",","there","are","either","zero","or","one","counts",".","Parameters","--","--","--","--","--","dt",":","float","tick","rate","for","data","gamma",":","float","specifies","the","prior","on","the","number","of","bins",":","p","~","gamma^N"]
code: def __init__(self, dt, p0=0.05, gamma=None):
      self.dt = dt
      self.p0 = p0
      self.gamma = gamma
  
imports: import numpy
  from astroML.utils import deprecated
  from astroML.utils.exceptions import AstroMLDeprecationWarning
label_desc: Use image node_id 1 to create a new RegularEvents object from inherited base classes: FitnessFunc with example: obj = RegularEvents(dt, p0, gamma)