bilby.core.utils.series.create_white_noise

bilby.core.utils.series.create_white_noise(sampling_frequency, duration)[source]

Create white_noise which is then coloured by a given PSD

Parameters:
sampling_frequency: float
duration: float

duration of the data

Returns:
array_like: white noise
array_like: frequency array