Le mardi 20 septembre 2011 à 12:12 +0200, Klonuo Umom a écrit :
> Ah, I was using wrong parameter... Thanks. That works fine

You could also use a callable (instead of the vector) so that specgram
internally automatically get a NFFT length window

wrapper = lambda n: kaiser(n,8)
Pxx, freqs, bins, im = specgram(x, NFFT=1024, Fs=fs, window=wrapper, noverlap=2)

a wrapper is needed as specgram expects a function with a single argument (as 
documented).
-- 
Fabrice Silva


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to