Advertisement
supermario

power

Aug 14th, 2011
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. fftPower,fftFreq,fftSignif=fast_fourier(array,cadence=3.0,scale='mHz',siglevel=0.95)
  2. si=np.zeros(fftFreq.max())+fftSignif
  3. fig=plt.figure()
  4. ax=fig.add_subplot(111)
  5. ax.plot(fftFreq[8:],fftPower[8:])
  6. #ax.plot(fftPower[12:])
  7. ax.plot(si)
  8. ax.axis('tight')
  9. #ax.axes.invert_xaxis()
  10. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement