A method for testing a signal comprises obtaining a signal, determining whether the signal has at least one period, measuring that period and providing the measurement as output. A power spectral density estimation can be used for signals having a single period, and an autocorrelation function ...