I have a main signal, for example sinus with period of 200 samples.
I would like to add a noise to this signal. The periods of "noise signal parts" should be in range for example 5-30 samples.
I thought that will be enough to generate multiple sinuses in this range with different randomly chosen amplitudes:
noise = np.sin(np.array(range(N))/0.7)*np.random.random(1) + np.sin(np.array(range(N))/1.1)*np.random.random(1) + np.sin(np.array(range(N))/1.5)*np.random.random(1)
But this solution is still too much "deterministic" for my purpose.
How could I generate noise with randomly changing amplitude and period?
np.random.randn
), then bandpass filter it in order to give it the desired frequency characteristics before adding it to your signal.