Skip to content

Custom handlers

The cesnet_tszoo package supports adding custom way of handling data. It is possible to create custom handler for per time series, custom handler for all time series by subclassing from custom handlers. They also support applying only to specified sets.

Related config parameters in TimeBasedConfig, DisjointTimeBasedConfig and SeriesBasedConfig:

  • preprocess_order: Mainly used for changing order of preprocesses. Is also used as a way of adding custom handlers by adding type their type between the preprocesses.

Creating custom handlers

You can create custom handler by subclassing from one of the below classes:

PerSeriesCustomHandler

PerSeriesCustomHandler is only supported for Time-based, because of its nature.