utils.change_filter_times_fd#
Back to Module page
Summary#
Converts a conditioned filter to a different time array by zero-padding in time-domain
Signature#
def change_filter_times_fd(filter_fd, orig_len, chop_len, pad_mode = 'center')
Name |
Type |
Default |
Description |
|---|---|---|---|
|
n_filter x len(rfftfreq(orig_len)) array with frequency-domain filters (can be vector for n_filter = 1) |
||
|
Length of original time series |
||
|
Length of different time series |
||
|
‘center’ |
Where to pad, can be ‘center’, ‘left’ or ‘right’ |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Docstring#
Converts a conditioned filter to a different time array by zero-padding
in time-domain
:param filter_fd:
n_filter x len(rfftfreq(orig_len)) array with frequency-domain filters
(can be vector for n_filter = 1)
:param orig_len: Length of original time series
:param chop_len: Length of different time series
:param pad_mode: Where to pad, can be 'center', 'left' or 'right'
:return Frequency domain filter(s) living on rfftfreq(chop_len)