neuralib.util.segments
Check if array is sorted. |
|
segmenting an array that the value is long enough. |
|
segmenting an array that cut at the place which the difference of nearby value larger than gap. |
|
change [(start, stop)] to [(start, duration)] |
|
sorting and remove overlapped segments. |
|
whether t in the segments. |
|
find the index of segs where t located |
|
Divide segs into equal-size sub-segments with equal duration and equal interval. |
|
Shuffle t by remapping function method for t in segs. |
|
Shuffle t for t in segs. |
|
Shuffle t with add a value from a normal distribution for t in segs. |
|
Shift t with a shift value for t in segs. |
|
Map function |
|
Groups elements from the input iterable |
Data
- neuralib.util.segments.SegmentLike