|
|
|
|
|
__getitem__(self,
key)
Returns the class at sample key. |
source code
|
|
|
get_sampling(self)
Returns sampling, usually in milliseconds. |
source code
|
|
|
set_sampling(self,
sampling)
Sets sampling, usually in milliseconds. |
source code
|
|
|
get_seg_count(self)
Returns the number of segments. |
source code
|
|
|
get_seg_first(self,
i)
Returns the first sample index in segment i. |
source code
|
|
|
get_seg_last(self,
i)
Returns the last sample index in segment i. |
source code
|
|
|
count_dwells(self,
f,
l,
fragments)
Returns the numer of dwells between sample f and sample l, inclusive. |
source code
|
|
|
get_dwells_into(self,
f,
l,
fragments,
firsts,
lasts,
classes,
durations)
Copies the dwells between samples f and l, inclusive, into numpy
arrays. |
source code
|
|
|
get_dwells(self,
f,
l,
fragments,
get_durations=False)
Returns the dwells between samples f and l, inclusive, as numpy
arrays |
source code
|
|
|
count_dwells_and_gaps(self,
f,
l)
Returns the numer of dwells between sample f and sample l, inclusive. |
source code
|
|
|
get_dwells_and_gaps_into(self,
f,
l,
firsts,
lasts,
classes,
durations)
Copies the dwells between samples f and l, inclusive, into numpy
arrays; cls=-1 between events. |
source code
|
|
|
|
|
set_dwells(self,
count,
firsts,
lasts,
classes)
Writes dwells to the idealization. |
source code
|
|
|
sample_dwells(self,
f,
l,
amps,
Nsample,
lows,
highs,
class_bits=None)
Renders the dwells between samples f and l, inclusive, into resampled
arrays lo and hi, suitable for display. |
source code
|
|
|
sample_dwells_std(self,
f,
l,
amps,
stds,
Nsample,
lows,
highs)
Renders the dwells between samples f and l, inclusive, into resampled
arrays lo and hi, suitable for display. |
source code
|
|
|
count_dwells_excluding(self,
exclusion,
excl_class,
f,
l)
Returns the numer of dwells between sample f and sample l, inclusive;
unlike count_dwells, counts each un-idealized region as a dwell (of
class -1). |
source code
|
|
|
get_dwells_excluding_into(self,
exclusion,
excl_class,
f,
l,
firsts,
lasts,
classes,
durations=None)
Copies the dwells between samples f and l, inclusive, into numpy
arrays; unlike get_dwells_into, outputs un-idealized regions as class
-1. |
source code
|
|
|
get_dwells_excluding(self,
exclusion,
excl_class,
f,
l,
get_durations=False)
Returns the dwells between samples f and l, inclusive, as numpy
arrays; unlike get_dwells, outputs un-idealized regions as class -1. |
source code
|
|
|
set_dwell(self,
f,
l,
c)
Overwrites the idealization between samples f and l, inclusive, with
class c. |
source code
|
|
|
clear(self)
Clears all segments' idealization to class -1. |
source code
|
|
|
|
|
erase(self,
f,
l)
Clears all dwells (or fragments) between samples f and l inclusive,
by setting them to class -1. |
source code
|
|
|
join(self,
f,
l)
Extends the class at sample f through to sample l. |
source code
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|