sync
sync(
data,idx,aggregate?,pad?,axis?):any[]
Defined in: packages/pleco-xa/src/scripts/xa-util.js:755
Aggregate a multi-dimensional array between specified boundaries Synchronizes features to segment boundaries
Parameters
Section titled “Parameters”any[]
Feature matrix [d x t]
any[]
Segment boundaries (slices or indices)
aggregate?
Section titled “aggregate?”Function = null
Aggregation function (default: mean)
boolean = true
Pad boundaries
number = -1
Time axis
Returns
Section titled “Returns”any[]
Synchronized features [d x n_segments]