hello... how do you measure the noise floor for a resampler algorithm? thank you
noise floor
Started by ●November 21, 2010
Reply by ●November 21, 20102010-11-21
"John" <john@nospam.thanks> writes:> hello... > > how do you measure the noise floor for a resampler algorithm?Depends on the resample ratios, but one possibility would be this: Feed in a theoretically perfect sine wave at Fs/4: 0, 1, 0, -1, notch the result, and measure the residual. -- Randy Yates % "Ticket to the moon, flight leaves here today Digital Signal Labs % from Satellite 2" mailto://yates@ieee.org % 'Ticket To The Moon' http://www.digitalsignallabs.com % *Time*, Electric Light Orchestra
Reply by ●November 21, 20102010-11-21
Reply by ●November 21, 20102010-11-21
ok...i get it... so everything around the sine spike in the frequency spectrum is "noise"... and i should just sum up the magnitudes in the power spectrum (after notching out the sine) to get the variance of the noise ??
Reply by ●November 22, 20102010-11-22
John,
you need to perform abs, then square each term and add it.
FFT values will be complex and hence.
Bharat
Reply by ●November 22, 20102010-11-22
On Nov 22, 1:56=A0pm, "bharat pathak" <bharat@n_o_s_p_a_m.arithos.com> wrote:> John, > > =A0 =A0 you need to perform abs, then square each term and add it. > > =A0 =A0 FFT values will be complex and hence. > > BharatHe did say "magnitude".
Reply by ●November 22, 20102010-11-22
>ok...i get it... > >so everything around the sine spike in the frequency spectrum is"noise"...> >and i should just sum up the magnitudes in the power spectrum (after >notching out the sine) to get the variance of the noise ?? > > >sum of magnitude squares will give you noise power. noise power = variance + (mean*mean) Rgds Bharat
Reply by ●November 22, 20102010-11-22
On Nov 22, 8:56=A0am, "bharat pathak" <bharat@n_o_s_p_a_m.arithos.com> wrote:> John, > > =A0 =A0 you need to perform abs, then square each term and add it. > > =A0 =A0 FFT values will be complex and hence. > > BharatYou don't need to take abs before squaring... Rick
Reply by ●November 22, 20102010-11-22
Reply by ●November 22, 20102010-11-22
John wrote:> ok...i get it... > > so everything around the sine spike in the frequency spectrum is "noise"...It is a nasty, nasty problem as resampling artifacts aren't noise.> and i should just sum up the magnitudes in the power spectrum (after > notching out the sine) to get the variance of the noise ??As the level of artifacts depends on the fundamental frequency, you've got to integrate it over the spectrum. Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com






