Given a numeric vector, this function will return a spectrum with all pole AR model.
get_spectrum(values, sampling_rate = 100, nfreq = 500)
| values | A timeseries vector. |
|---|---|
| sampling_rate | Sampling rate of the signal (by default it is 100 Hz). |
| nfreq | Number of frequecy points to be interpolated. |
An AR spectrum.