tedana.utils
.get_spectrum
- get_spectrum(data: array, tr: float = 1.0)[source]
Return the power spectrum and corresponding frequencies.
Done when provided with a component time course and repitition time.
- Parameters:
data ((S, ) array_like) – A timeseries S, on which you would like to perform an fft.
tr (
float
) – Reptition time (TR) of the data