myoverse.datasets.DatasetCreator._extract_center#

DatasetCreator._extract_center(data, ratio)[source]#

Extract center portion of data along last axis.

Returns (edges, center) where edges are the concatenated start/end portions.

Parameters:
Return type:

tuple[ndarray, ndarray]