pycbc
pycbc copied to clipboard
Support for generating time varying noise
A support for generating a time varying noise is added. With the help of an additional argument scale
(default = 1.0), one can generate a time varying noise where total time can be broken into smaller equal chunks (time bins) and an array of scale values for each bin can be provided which act as the time varying function. Then time series generated from all the bins can be stacked together. The seed should be same for all the bins.
While generating the coloured noise, white noise is multiplied with the ASD. The scale
argument is multiplicative factor to ASD. A more general frequency dependent function can be added in future.
How related is this to #3825?
@titodalcanton This is a parallel approach to #3825 which requires minimal changes in current infrastructure to produce a simple time varying PSD.
@ahnitz Poke.
@sum33it please reabse and fix the history