1. Chris Lee-Messer
  2. stockwelltransform

Commits

Chris Lee-Messer  committed e0e7754

eeg2.py

  • Participants
  • Parent commits b377536
  • Branches default

Comments (0)

Files changed (1)

File examples/eeg2.py

View file
  • Ignore whitespace
 
 figure(); imshow(s); axis('auto')
 
-import scipy.signal as signal
-signal.chirp 
-#?signal.chirp
-t=lin(0,10,n=1000)
-t=linspace(0,10,n=1000)
-t=linspace(0,10,1000)
-t
-ch = signal.chirp(t,1.0,6.0,20.0)
-figure()
-plot(t,ch)
-chs = smt.mtst(K,tapers, ch, 0,len(ch)/2)
-chtapers = smt.calc_tapers(K,len(ch))
-chs = smt.mtst(K,chtapers, ch, 0,len(ch)/2)
-figure(); imshow(chs)
-figure(); subplot(211); plot(ch); subplot(212); imshow(chs)
-## now try a longer signal
 la=zeros(10000,dtype='float64')
 #?smt.st
 e.readsignal(0,0,len(la),la)