-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I tried to run the following example:
morse = Morse(1000, r=3., b=17.5)
freq = 60
time = np.arange(0, 0.3, 0.001)
sin = np.array([np.sin(time * freq * 2 * np.pi)])
result = morse.power(sin, range(1, 100))
But the result is full of Nan, and I got the following warning:
...\ninwavelets\base.py:267: RuntimeWarning: invalid value encountered in true_divide
return result / self.get_wavelet_norm(ncp.fft.ifft(result))
How do I fix it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels