pygwb.util.get_window_tuple
- pygwb.util.get_window_tuple(window_fftgram_dict={'window_fftgram': 'hann'})[source]
Unpack the
window_fft_dict
dictionary into atuple
that can be read byscipy.signal.get_window
.- Parameters:
window_fftgram_dict (
dictionary
, optional) – Dictionary with window characteristics. Default iswindow_fftgram_dict={"window_fftgram": "hann"}
.- Returns:
- window_tuple:
tuple
A tuple containing the window_fft name as the first entry, followed by optional entries of the window_fft_dict.
- window_tuple:
Notes
window_fftgram_dict
is expected to have at least one item,window_fftgram
.