Source code for cosmogrb.sampler.sampler
[docs]class Sampler(object):
def __init__(self, tstart, tstop):
"""
Superclass of the background and source
samplers
:param tstart:
:param tstop:
:returns:
:rtype:
"""
self._tstart = tstart
self._tstop = tstop
@property
def tstart(self):
return self._tstart
@property
def tstop(self):
return self._tstop
@property
def times(self):
return self._times