bilby.core.utils.series

Functions

create_frequency_series(sampling_frequency, ...)

Create a frequency series with the correct length and spacing.

create_time_series(sampling_frequency, duration)

create_white_noise(sampling_frequency, duration)

Create white_noise which is then coloured by a given PSD

get_sampling_frequency(time_array)

Calculate sampling frequency from a time series

get_sampling_frequency_and_duration_from_frequency_array(...)

Calculate sampling frequency and duration from a frequency array

get_sampling_frequency_and_duration_from_time_array(...)

Calculate sampling frequency and duration from a time array

infft(frequency_domain_strain, ...)

Inverse FFT for use in conjunction with nfft.

nfft(time_domain_strain, sampling_frequency)

Perform an FFT while keeping track of the frequency bins. Assumes input

Exceptions

IllegalDurationAndSamplingFrequencyException