pynapple.core.interval_set.IntervalSet.get_intervals_center#
- IntervalSet.get_intervals_center(alpha=0.5)[source]#
Returns by default the centers of each intervals.
It is possible to bias the midpoint by changing the alpha parameter between [0, 1] For each epoch: t = start + (end-start)*alpha
- Parameters:
alpha (float, optional) – The midpoint within each interval.
- Returns:
Timestamps object
- Return type: