Closed edeno closed 7 years ago
Memoization makes functions more efficient by caching previously computed results. Because we compute the multitaper fft for the same LFPs multiple times and we compute with the same parameters, memoization could speed up our functions. See http://mike.place/2016/memoization/ and https://docs.python.org/3/library/functools.html#functools.lru_cache
Memoization makes functions more efficient by caching previously computed results. Because we compute the multitaper fft for the same LFPs multiple times and we compute with the same parameters, memoization could speed up our functions. See http://mike.place/2016/memoization/ and https://docs.python.org/3/library/functools.html#functools.lru_cache