frft icon indicating copy to clipboard operation
frft copied to clipboard

Use lru_cache for caching

Open beatreichenbach opened this issue 2 years ago • 0 comments

First of all: I was blown away by your understanding of the math that goes into the FrFT, thank you so much for sharing it with the rest of us!

It could be nice to use lru_cache from the functools module to do the caching of the chirp function. I went ahead and rewrote some of your code with the use of the lru_cache decorator. https://gist.github.com/beatreichenbach/9f2eda2dd4cb16b75ebaececee89316f

beatreichenbach avatar Feb 18 '23 18:02 beatreichenbach