tedana.utils.get_spectrum

get_spectrum(data: numpy.array, tr: float = 1.0)[source]

Returns the power spectrum and corresponding frequencies 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