SelectIdxs

class behavenet.data.transforms.SelectIdxs(idxs, sample_name='')[source]

Bases: Transform

“Index-based subsampling of neural activity.

Methods Summary

__call__(sample)

param sample:

input shape of (time, n_channels)

Methods Documentation

__call__(sample)[source]
Parameters:

sample (np.ndarray) – input shape of (time, n_channels)

Returns:

output shape is (time, n_channels)

Return type:

np.ndarray