neuralset.base.Step¶
- class neuralset.base.Step(*, infra: Backend | None = None)[source][source]¶
Base class for composable pipeline nodes.
A
Steprepresents a single operation in a data processing pipeline, such as loading a study (Study) or transforming events (EventsTransform). Steps can be executed individually via.run()or grouped into aChain.Inherits caching and execution infrastructure from
exca.steps.Step(configured via theinfraparameter).- Parameters:
infra (dict or exca.Infra, optional) – A pydantic config defining caching and execution infrastructure. It supports options like caching to disk (e.g. using the
Cachedbackend) and executing remotely on a cluster (e.g. viaSlurm). For example:{"backend": "Cached", "folder": "~/.cache/neuralset"}.