def mso(sample_len=1000, n_samples=1):
 signals = []
 for _ in range(n_samples):
  phase = np.random.rand()
  x = np.atleast_2d(np.arange(sample_len)).T
  signals.append((np.sin(((0.2 * x) + phase)) + np.sin(((0.311 * x) + phase))))
 return signals

def mso ( sample_len = 1000 , n_samples = 1 ) : signals = [ ] for _ in range ( n_samples ) : phase = np . random . rand ( ) x = np . atleast_2d ( np . arange ( sample_len ) ) . T signals . append ( ( np . sin ( ( ( 0.2 * x ) + phase ) ) + np . sin ( ( ( 0.311 * x ) + phase ) ) ) ) return signals
mso -> input generate the multiple sinewave oscillator time-series .