fft and TypeError: fft() got multiple values for argument 'n'
You can pass the argument n: int, optional
to the scipy.fft.fft function through the **kwargs
of the lazylinop fft function.
However, you get TypeError: fft() got multiple values for argument 'n'
.
I propose to change the signature of the lazylinop fft function:
def fft(n, backend='scipy', **kwargs):
----->
def fft(N, backend='scipy', **kwargs):
Edited by CARRIVAIN Pascal