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; and savedir.

  • Writes: corresponding .npy files under savedir; optional config_echo.yaml.

Parameters

Key

Type / Default

Meaning

config_echo

str / None

If provided, content is written to config_echo.yaml

YAML example

modules:
  - name: SaveOutputs
    params:
      config_echo: |
        # Saved pipeline configuration
        steps:
          - ControlLabelSplit
          - DiffImage
          - ComputeM0
          - CBFRelative
          - BrainMask