brainprep.decorators: Defines a hook-driven decorator step with common hooks.

Defines a hook-driven decorator step with common hooks.

Classes

BidsHook([process, bids_file, container, ...])

BIDS specification.

CoerceparamsHook()

Convert annotated arguments.

CommandLineWrapperHook()

Perform command line wrapper-specific preprocessing and output validation.

Hook()

Base class for decorator hooks.

LogRuntimeHook([title, bunched])

Decorator that logs runtime metadata and input/output details of a function call.

OutputdirHook([plotting, quality_check, ...])

Fill and create the output directory.

PythonWrapperHook()

Perform Python wrapper-specific preprocessing and output validation.

SaveRuntimeHook([parent])

Decorator that save logged runtime metadata in a 'output_dir/log' folder.