obspy.signal.freqattributes.spectrum
- spectrum(data, win, nfft, n1=0, n2=0)[source]
Spectrum of a signal.
Computes the spectrum of the given data which can be windowed or not. The spectrum is estimated using the modified periodogram. If n1 and n2 are not specified the periodogram of the entire sequence is returned.
The modified periodogram of the given signal is returned.