ssapy_toolkit.Compute.fft

Functions

FFT(data[, time_between_samples])

Perform a Fast Fourier Transform on the input data.

FFTP(data[, time_between_samples])

Perform a Fast Fourier Transform and calculate the period.

ssapy_toolkit.Compute.fft.FFT(data: ndarray, time_between_samples: float = 1) ndarray[source]

Perform a Fast Fourier Transform on the input data.

Parameters: data (np.ndarray): The input time-series data. time_between_samples (float): Time interval between data samples.

Returns: tuple: The frequency array and the FFT result.

Author: Travis Yeager (yaeger7@llnl.gov)

ssapy_toolkit.Compute.fft.FFTP(data: ndarray, time_between_samples: float = 1) ndarray[source]

Perform a Fast Fourier Transform and calculate the period.

Parameters: data (np.ndarray): The input time-series data. time_between_samples (float): Time interval between data samples.

Returns: tuple: The period array and the FFT result.

Author: Travis Yeager (yaeger7@llnl.gov)