now use welch periodogram for frequency analysis