eelbrain.frequency_response

eelbrain.frequency_response(b, frequencies=None)

Frequency response for a FIR filter

Parameters:
b : NDVar (…, time, …)

FIR Filter.

frequencies : int | array_like

Number of frequencies at which to compute the response, or array with exact frequencies in Hz.

Returns:
frequency_response : NDVar (…, frequency)

Frequency response for each filter in b.