Skip to content

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

any[]

Feature matrix [d x t]

any[]

Segment boundaries (slices or indices)

Function = null

Aggregation function (default: mean)

boolean = true

Pad boundaries

number = -1

Time axis

any[]

Synchronized features [d x n_segments]