Closed aaryapatil closed 3 years ago
I like this idea. This would also offer a flexible interface to build additional methods into, and could also be passed to other things in the code if, e.g., you want to provide built-in plotting utilities or other analysis functions.
Created a class and added functionality for evenly-sampled periodogram.
Currently, multitaper is a function that takes x and t, that is data and time, along with multitaper/periodogram parameters (NW, K, nyquist limit, etc.). It would be nice to convert this to a
MultiTaper
class with a functionperiodogram
that can have t as on optional argument. If t is not provided, evenly-sampled periodogram will be performed. If t is provided and is uneven, unevenly-sampled periodogram is provided. This way users can perform the evenly sampled case if necessary, and the functionality will be simple .