roiextract.filter.apply_batch_raw#

roiextract.filter.apply_batch_raw(raw, filters)#

Apply of a set of spatial filters to a Raw dataset.

Parameters:
rawRaw

The dataset.

filterslist

Spatial filters to be applied to the data.

Returns:
tcarray

Array with time courses that correspond to the provided spatial filters.

Notes

If both the spatial filters and the dataset contain the names of individual channels, this function ensures that the channels and filter weights are matched properly. An error is raised if the number of channels differs between the filter and the dataset, or if the names of channels do not match.