ibex.core.utils.step_downsampling

ibex.core.utils.step_downsampling(data: IDSNumericArray, n_out: int, *args, **kwargs)

Takes data list as input, and returns list of indices to be used for downsampling. Utilizes step method returning every n-th index, where step is calculated as follows: step = len(data) / n_out.

Parameters:
data: IDSNumericArray

data to be down-sampled

n_out: int

desired size of data after downsampling

*args

unused argument

**kwargs

unused argument