Skip to content

Add wrapper around scipy.signal.get_window to handle pre-computed window arrays

Duncan Macleod requested to merge github/fork/duncanmmacleod/window-array into main

This PR adds a new gwpy.signal.window.get_window() function which wraps scipy.signal.get_window but also accepts pre-computed window arrays, with some validation.

This helps to simplify some repeated logic for handling different windows and allows pre-computed windows to be used in all SP functions.

Closes #1546 (closed).

Merge request reports