get_idealization(self,
signal=None,
mark_excluded=False,
get_fragments=False,
get_durations=False,
get_amps=False,
get_stds=False,
first_offset=0,
last_offset=None)
| source code
|
Returns the dwells in chunk as numpy arrays
- Parameters:
signal - signal index, or None to use the chunk.signal
mark_excluded - if True, replaces excluded dwells with class -1 (or -2?)
get_fragments - if False, omits first/last dwells if incomplete
get_durations - if True, returns durations
get_amps - if True: returns amps
get_stds - if True: returns stds
first_offset - (optional) to narrow the desired time range
last_offset - (optional)
- Returns:
- firsts, lasts, classes[, durations, amps, stds]
|