pygsti.extras.drift.signal.fourier_frequencies_from_times#
- fourier_frequencies_from_times(times)#
Calculates the Fourier frequencies from a set of times. These frequencies are in 1/units, where units is the units of time in times. Note that if the times are not exactly equally spaced, then the Fourier frequencies are ill-defined, and this returns the frequencies based on assuming that the time-step is the mean time-step. This is reasonable for small deviations from equally spaced times, but not otherwise.
- Parameters:
times (list) – The times from which to calculate the frequencies
- Returns:
The frequencies associated with Fourier analysis on data with these timestamps.
- Return type:
array