Nyquist theorem and noise measurement