SaveOutputs (Preclinical)
Purpose. Persist key arrays from the pipeline context to .npy files; optionally echo the YAML config.
Context I/O
Reads: any of
ImageDif,Mat0,relCBF,absCBF,BrainMask; andsavedir.Writes: corresponding
.npyfiles undersavedir; optionalconfig_echo.yaml.
Parameters
Key |
Type / Default |
Meaning |
|---|---|---|
|
str / None |
If provided, content is written to |
YAML example
modules:
- name: SaveOutputs
params:
config_echo: |
# Saved pipeline configuration
steps:
- ControlLabelSplit
- DiffImage
- ComputeM0
- CBFRelative
- BrainMask