nirs4all.pipeline.dagml.structural_sources module

Validate declared dense source subsets and lower an existing sklearn selector.

nirs4all.pipeline.dagml.structural_sources.build_source_selection_step(alternative: Any, branch_id: str, source_layout: dict[str, Any]) → dict[str, Any][source]

Lower one declared selection with concrete columns and signed input layout.

nirs4all.pipeline.dagml.structural_sources.validate_source_selection_alternatives(alternatives: Any, *, source_widths: list[int] | None = None) → list[list[int]][source]

Resolve the existing source-index aliases without enumerating recipes.