Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from scipy.linalg import solve_toeplitz | |
###### | |
## | |
## Algorithm that assumes | |
## a fixed length impulse response (length imp_length) | |
## and calculates the least-squares solution of the | |
## convolution equation y = convolve(x, w). With optional l2-regularization. | |
## | |
## Arguments: |