physioex.data.ZScoreNormalize#

class physioex.data.ZScoreNormalize(mode='per_subject', eps=1e-08)[source]#

Bases: PreprocessingStep

Per-subject per-channel z-score normalization.

Available as an optional pipeline element; not part of default presets. Global dataset-level scaling is a future phase.

Parameters:
__init__(mode='per_subject', eps=1e-08)[source]#
Parameters:

Methods

__init__([mode, eps])

compile(fs_in)

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

spec()

Return canonical, hashable text repr.

compile(fs_in)[source]#

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

Parameters:

fs_in (float)

Return type:

CompiledStep

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