- noise_corrected_PW - returns a noise corrected power spectrum and the factors a and b which were used to subtract the function f(x)=exp( a*x*x+b ) from the original power spectrum
- freq,pw_ns,b_factor,norm = noise_corrected_PW(pw,lo_limit,hi_limit,abs_limit)
- a list containing the values of a power spectrum
- lower frequency threshold for minima search (value between 0.0 and 0.5)
- upper frequency threshold for minima search (value between 0.0 and 0.5)
- upper limit of the power spectrum, no usable information is contained above this threshold
- list of corresponding frequency values
- noise corrected power spectrum
- exponential factor
- normalization factor
- This function returns a noise corrected power spectrum, a list of corresponding frequency values and the factors a and b which were used to subtract the function f(x)=exp( a*x*x+b ) from the original power spectrum pw
- Fist the minima of the power spectrum (in the specified freq. range) are searched, then a regression (linreg) fits f(x) as described above. This function is subtracted from the original power spectrum to yield an estimate of the noise corrected spectrum. Minima are searched again. This leads to a more accurate fit of f(x) and thereby to an accurate estimation of the noise background. After subtraction a noise corrected power spectrum is returned.
- noise_corrected_PW(pw,0.06,0.3,0.35) worked out well for the power spectra investigated so far.
Author / Maintainer
- Jan-Christian Schuette
- category 1
- category 2
- category 3
- works for most people, has been tested; test cases/examples available.