hotstepper.Sequency.fft

Sequency.fft(data, sampling_frequency=1)

A basic implementation of the Fast Fourier Transform as implemented in Numpy.fft.fft.

Parameters
  • data (array_like) – The data that is to be transformed using the fft method from Numpy.

  • sampling_frequency (int, Optional) – The sampling frequency used to scale the frequency spectrum, specifically this will need to be tuned based on your data as different scalings will be required to suit the type and density of data points.

Returns

frequencies, transform_amplitudes

Return type

tuple(array, array)

References