Skip to content

Instantly share code, notes, and snippets.

@larsoner
Created November 17, 2015 17:07
Show Gist options
  • Select an option

  • Save larsoner/7f4e5bc753d172bed783 to your computer and use it in GitHub Desktop.

Select an option

Save larsoner/7f4e5bc753d172bed783 to your computer and use it in GitHub Desktop.
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