reservoirpy.datasets.mso8#

reservoirpy.datasets.mso8(n_timesteps: int, normalize: bool = True)[source]#

Multiple superimposed oscillator task with 8 frequencies [22] [24]

This is the $MSO$ task with 8 frequencies: \(0.2, 0.311, 0.42, 0.51, 0.63, 0.74, 0.85, 0.97\), as first described in [24].

\[MSO(t) = \sum_{i=1}^{8} sin(f_i 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 mso8
>>> timeseries = mso(500)
>>> print(timeseries.shape)
(500, 1)
../../_images/reservoirpy-datasets-mso8-1.png

References