canonical_name#
- gwpy.signal.window.canonical_name(name: str) str[source]#
Find the canonical name for the given window in scipy.signal.
- Parameters:
- name
str The name of the window you want.
- name
- Returns:
- realname
str The name of the window as implemented in
scipy.signal.window.
- realname
- Raises:
ValueErrorIf
namecannot be resolved to a window function inscipy.signal.
Examples
>>> from gwpy.signal.window import canonical_name >>> canonical_name("hann") 'hann' >>> canonical_name("ksr") 'kaiser'