I am writing an app to work with synthetic time series data from a physics experiment. In our experiments we always have $1/f$ noise in our time series, but I haven't been able to find code/packages to generate $1/f$ noise in synthetic time series data. Can anyone tell me how to do this? I have a feeling it should be pretty simple and that I'm missing something obvious, but I don't know what it is. Any advice?
Also, I looked through the list of questions and don't see anything too on point apart from this: making pink noise (1/f) using list of frequencies
gain = 1.0/23.1188232529392; out[t] = in[t]gain + in[t-1](-1.89404297gain) + in[t-2](0.9585641562817477gain) + in[t-3](-0.0621320035261672gain) - out[t-1]-2.47930908 - out[t-2]1.985012853639686 - out[t-3]-0.505600430025288;
– Olli Niemitalo Apr 09 '15 at 15:09