BirdSongToolbox.preprocess.multi_bpf_epochs

BirdSongToolbox.preprocess.multi_bpf_epochs(epoch_neural_data, fs, l_freqs, h_freqs, remove_edges=False, verbose=False, \*\*kwargs)

Run multiple bandpass filters on multiple neural data Epochs(Chunks)

Parameters
epoch_neural_datalist, shape [Epoch]->(channels, samples)

The Epoched Neural Data to be Bandpass Filtered

fsfloat

The sample frequency in Hz.

l_freqsarray-like | None

For FIR filters, the lower pass-band edge; for IIR filters, the upper cutoff frequency. If None the data are only low-passed.

h_freqsarray-like | None

For FIR filters, the upper pass-band edge; for IIR filters, the upper cutoff frequency. If None the data are only low-passed.

remove_edgesbool, optional, default: False

If True, replace samples within half the kernel length to be np.nan. Only used for FIR filters when using neurodsp.

verbosebool, optional, default: False

If True it will print out information about the filter used, (mne only)

Returns
multi_filt_epochslist, shape [Freq]->[Epoch]->(channels, samples)

The Epoched Neural Data Bandpass Filtered