pyemma.coordinates.pipelines.Pipeline

class pyemma.coordinates.pipelines.Pipeline(chain, chunksize=None, param_stride=1)

Data processing pipeline.

__init__(chain, chunksize=None, param_stride=1)

Data processing pipeline.

Parameters:
  • chain (list of transformers like objects) – the order in the list defines the direction of data flow.
  • chunksize (int, optional) – how many frames shall be processed at once.
  • param_stride (int, optional) – omit every n’th data point

Methods

__init__(chain[, chunksize, param_stride]) Data processing pipeline.
add_element(e) Appends a pipeline stage.
parametrize() Reads all data and discretizes it into discrete trajectories.
set_element(index, e) Replaces a pipeline stage.

Attributes

chunksize
logger The logger for this class instance
name The name of this instance
add_element(e)

Appends a pipeline stage.

Appends the given element to the end of the current chain.

logger

The logger for this class instance

name

The name of this instance

parametrize()

Reads all data and discretizes it into discrete trajectories.

set_element(index, e)

Replaces a pipeline stage.

Replace an element in chain and return replaced element.