David Craig :
> Hi, thanks for that. I've made the following changes:
>
> NFFT = 100*60*10# Linked to window size
> Fs = stream[0].stats.sampling_rate
> win = np.hanning(NFFT)
> overlap = NFFT/2
> power, freq = plt.psd(data, NFFT, Fs, win, overlap)
>
> but it returns the following error:
>
Le lundi 30 janvier 2012 à 13:34 +, David Craig a écrit :
> Hi, thanks for that. I've made the following changes:
>
> NFFT = 100*60*10# Linked to window size
> Fs = stream[0].stats.sampling_rate
> win = np.hanning(NFFT)
> overlap = NFFT/2
> power, freq = plt.psd(data, NFFT, Fs, win, ov
Hi, thanks for that. I've made the following changes:
NFFT = 100*60*10# Linked to window size
Fs = stream[0].stats.sampling_rate
win = np.hanning(NFFT)
overlap = NFFT/2
power, freq = plt.psd(data, NFFT, Fs, win, overlap)
but it returns the following error:
Traceback (most recent call las
Le lundi 30 janvier 2012 à 11:45 +, David Craig a écrit :
> Hi I have some data for a 24hr period with a sample rate of 100
> samples/second. I want to create a power spectrum using matplotlibs
> function psd. I want it to have 10 minute windows with a 50% overlap,
> but cant seem to get the sy
That was it
Thanks :)
John Hunter-4 wrote:
>
> On Tue, Mar 2, 2010 at 5:13 AM, Dunx wrote:
>>
>> Hi,
>>
>> I know about the difference between pylab.psd and mlab.psd, but in theory
>> the only difference between the returned values is:
>>
>> pylab.psd = 10*log10(mlab.psd)
>>
>> Except this is
On Tue, Mar 2, 2010 at 5:13 AM, Dunx wrote:
>
> Hi,
>
> I know about the difference between pylab.psd and mlab.psd, but in theory
> the only difference between the returned values is:
>
> pylab.psd = 10*log10(mlab.psd)
>
> Except this is not true, there is noticeable difference:
>
> pylab.psd = 23
On Wed, Jul 29, 2009 at 1:39 AM, 3togo wrote:
>
> mlab.psd and pyplot.psd are different
The plotting command pyplot.psd scales the numbers in decibels (the dB
in the ylabel in pyplot.psd). mlab.psd just returns the unscaled
power. So in your example in subplot(3,1,3), call before plotting
mlab.psd and pyplot.psd are different
http://www.nabble.com/file/p24713274/psd_testpng.png
http://www.nabble.com/file/p24713274/psd_testpng.png psd_testpng.png
#This program below do reveal that mlab.psd and pyplot.psd are different
import numpy as np
import matplotlib.pyplot as plt
import
matplotlib-users-boun...@lists.sourceforge.net
[mailto:matplotlib-users-boun...@lists.sourceforge.net] On Behalf Of
Fago, Matt - AES
Sent: Wednesday, January 14, 2009 11:36 AM
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] psd question
> I'm trying to use
> I'm trying to use the matplotlib psd function to plot some data. The
> result from MATLAB's pWelch function looks vastly different.
What is the default window type for Matlab? For Matplotlib it is the
Hanning window. If Matlab defaults to a rectangular window the
results will look quite differ
Lewis, Ambrose J. wrote:
> Hi All:
>
> I’m trying to use the matplotlib psd function to plot some data. The
> result from MATLAB’s pWelch function looks vastly different.
>
> Any suggestions/recommendations would be greatly appreciated!
>
What version of matplotlib are you running? I made som
S(f) of a sine wave is a delta function!
Joseph Park <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
26/10/2007 11:50 AM
To
cc
matplotlib-users@lists.sourceforge.net
Subject
Re: [Matplotlib-users] PSD amplitudes
spectral density is by convention a 1Hz binwidth, not an arbitrary on
Subject
Re:
[Matplotlib-users] PSD amplitudes
.sourceforge.net
Subject
Re: [Matplotlib-users] PSD amplitudes
is the suggestion that the matplotlib algorithm is correct in computing
PSD amplitudes?
btw, increasing nFFT increases the number of points used in the FFT, which
increases the spectral frequency resolution (smaller binwidth) bu
Subject
Re:
[Matplotlib-users]
ect
Re: [Matplotlib-users] PSD amplitudes
Shouldn't the PSD for a simple sine wave tend to infinity
the spectral resolution will impact the amplitude, if you
are not dealing with a density. by definition a spectral density
has applied the bandwidth resolution correction. the PSD ampli
Shouldn't the PSD for a simple sine
wave tend to infinity
the spectral resolution
will impact the amplitude, if you
are not dealing with a density. by definition a spectral density
has applied the bandwidth resolution correction. the PSD amplitude
should correspond to the RMS amplitude of the
17 matches
Mail list logo