reservoirpy.datasets.mso2#

reservoirpy.datasets.mso2(n_timesteps, normalize=True)[source]#

Multiple superimposed oscillator task with 2 frequencies [22]

This is the $MSO$ task with 2 frequencies: \(f_1=0.2\) and \(f_1=0.311\), as first described in [22].

\[MSO(t) = sin(0.2 t) + sin(0.311 t)\]
Parameters:
  • n_timesteps (int) – Number of timesteps to generate

  • normalize (bool) – If True, scales the range of values in [-1, 1]

Returns:

Multiple superimposed oscillator timeseries.

Return type:

array of shape (n_timesteps, 1)

Examples

>>> from reservoirpy.datasets import mso2
>>> timeseries = mso(500)
>>> print(timeseries.shape)
(500, 1)

References