Hi,
Is there a missing factor 1/2 in the computing of WNL in the following lines of code:
|
print('White noise level from spectrum = %4.3f, ' |
|
'variance = %4.3f' % (wnl*samp_freq, np.std(noise)**2)) |
|
print('White noise level from spectrum = %4.3f, ' |
|
'standard deviation = %4.3f' % (wnl*samp_freq, np.std(noise)**2)) |
and a factor 1/sqrt(2) in the following ones:
|
print('White noise level from spectrum = %4.3f, ' |
|
'standard deviation = %4.3f' % (wnl*np.sqrt(samp_freq), np.std(noise))) |
|
print('White noise level from spectrum = %4.3f, ' |
|
'standard deviation = %4.3f' % (wnl*np.sqrt(samp_freq), np.std(noise))) |
?
Furthermore, it is not to clear to me which are the real dimensions of WNL. Are they: amplitude / sqrt(freq) or power / freq ?
I think one should decide to refer either to the first as WNL and to the second as WNL squared or to the first as sqrt of WNL and to the second as WNL.
Thanks
Hi,
Is there a missing factor 1/2 in the computing of WNL in the following lines of code:
striptease/striptease/Spectrum tools help.Rmd
Lines 102 to 103 in bccffbe
striptease/striptease/Spectrum tools help.Rmd
Lines 153 to 154 in bccffbe
and a factor 1/sqrt(2) in the following ones:
striptease/striptease/Spectrum tools help.Rmd
Lines 82 to 83 in bccffbe
striptease/striptease/Spectrum tools help.Rmd
Lines 133 to 134 in bccffbe
?
Furthermore, it is not to clear to me which are the real dimensions of WNL. Are they:
amplitude / sqrt(freq)orpower / freq?I think one should decide to refer either to the first as WNL and to the second as WNL squared or to the first as sqrt of WNL and to the second as WNL.
Thanks