Created
November 17, 2015 17:07
-
-
Save larsoner/7f4e5bc753d172bed783 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import time | |
| from mne.time_frequency import cwt_morlet | |
| dur = 3. | |
| sfreq = 1000. | |
| x = np.empty((306, int(dur * sfreq))) | |
| def test(): | |
| return cwt_morlet(x, sfreq, np.arange(5, 30)) | |
| if __name__ == '__main__': | |
| t0 = time.time() | |
| test() | |
| print(time.time() - t0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment