FastTrackiverse/fasttrackpy

Using `@cache` operator might be useful

JoFrhwld opened this issue · 1 comments

Specifically, this might let us update the formant tracking parameters of a OneTrack object and get the formant tracks with a @property decorated function.

https://docs.python.org/3/library/functools.html#

Couldn't really get it to work. Best attempt here, but it doesn't cache the result. (see notebook)

https://github.com/JoFrhwld/fasttrackpy/blob/2118949eb24cbd51a94ef298f60fe6a42b86c535/src/fasttrackpy/tracks.py#L136-L163