generator_interface#

Provides the interface for generators.

class GeneratorInterface(*args, **kwargs)#

Bases: Protocol

Protocol for a generator.

generate_csvs(n: int = 1, save_dir: str = './data/') None#

Generate csvs for n time-series.

Parameters:
  • n – number of timeseries

  • save_dir – directory to save the csvs

Note

This method does not need to generate n csvs. E.g. the SteadyStateGenerator only creates one csv, but from n time series.