bilby.core.utils.series.nfft
- bilby.core.utils.series.nfft(time_domain_strain, sampling_frequency)[source]
- Perform an FFT while keeping track of the frequency bins. Assumes input
time series is real (positive frequencies only).
- Parameters:
- time_domain_strain: array_like
Time series of strain data.
- sampling_frequency: float
Sampling frequency of the data.
- Returns:
- frequency_domain_strain, frequency_array: (array_like, array_like)
Single-sided FFT of time domain strain normalised to units of strain / Hz, and the associated frequency_array.