def __init__(self, signum, rec, units, metadata=None): ## Hmm, URI should be a parameter... #----------------------------------------------------- BSMLSignal.__init__(self, str(rec.uri) + '/signal/%d' % signum, units, metadata = metadata) ## metadata = { 'label': edf._edffile.label[signum], ## 'units': edf._edffile.units[signum], ## 'transducer': edf._edffile.transducer[signum], ## 'filter': edf._edffile.prefilter[signum], ## 'rate': edf._edffile.rate[signum], ## 'maxFrequency': edf._edffile.rate[signum]/2.0, ## 'minValue': edf._edffile._physmin[signum], ## 'maxValue': edf._edffile._physmax[signum], ## } self.index = signum self.initialise(rec)
def __init__(self, uri, units, **kwds): #-------------------------------------- BSMLSignal.__init__(self, uri, units, **kwds) self._h5 = None
def __init__(self, uri, units, **kwds): # -------------------------------------- BSMLSignal.__init__(self, uri, units, **kwds) self._h5 = None