cogpy.preprocess.badchannel.pipeline

Bad-channel feature pipeline helpers (Split/Apply/Combine building blocks).

This module intentionally focuses on in-memory operations used by Snakemake scripts. It does not do file I/O.

Functions

compute_feature_maps_for_window(block, *[, ...])

compute_features_sliding(x, *, window_size, ...)

compute_features_sliding_legacy(x, *, ...)

Compute the current (as-is) feature set for Phase C compatibility.

compute_raw_feature_maps_for_window(block, *)

normalize_features_from_raw(raw_feat, ...[, ...])

Apply spatial neighborhood normalization to precomputed raw feature maps.

window_centers(*, n_time, window_size, ...)

Classes

FeatureSpec(name, norm)