def find_s0(self):
"""Find the smallest resolvable scale by finding where the
equivalent fourier period is equal to 2 * dt. For a Morlet
wavelet, this is roughly 1.
"""
dt = self.dt
def f(s):
return self.fourier_period(s) - 2 * dt
return scipy.optimize.fsolve(f, 1)[0]
评论列表
文章目录