physioex.data.PreprocessingStep#

class physioex.data.PreprocessingStep[source]#

Bases: ABC

Base class for all preprocessing operations.

__init__()#

Methods

__init__()

compile(fs_in)

Precompute any expensive state and return a callable specialized for fs_in.

spec()

Return canonical, hashable text repr.

abstract compile(fs_in)[source]#

Precompute any expensive state and return a callable specialized for fs_in.

Parameters:

fs_in (float)

Return type:

CompiledStep

abstract spec()[source]#

Return canonical, hashable text repr.

Format: ClassName(key1=val1,key2=val2,…) with sorted keys, floats normalized via f’{float(v):.10g}’.

Return type:

str