aslprep.workflows.asl.outputs module
Workflows for writing out derivative files.
- init_asl_derivatives_wf(bids_root, metadata, output_dir, spaces, output_confounds=True, scorescrub=False, basil=False, name='asl_derivatives_wf')[source]
Set up a battery of datasinks to store derivatives in the right location.
- Parameters:
bids_root (
str
) – Original BIDS dataset path.metadata (
dict
) – Metadata dictionary associated to the ASL run.output_dir (
str
) – Where derivatives should be written out to.spaces (
SpatialReferences
) – A container for storing, organizing, and parsing spatial normalizations. Composed ofReference
objects representing spatial references. EachReference
contains a space, which is a string of either TemplateFlow template IDs (e.g.,MNI152Lin
,MNI152NLin6Asym
,MNIPediatricAsym
), nonstandard references (e.g.,T1w
oranat
,sbref
,run
, etc.), or a custom template located in the TemplateFlow root directory. EachReference
may also contain a spec, which is a dictionary with template specifications (e.g., a specification of{'resolution': 2}
would lead to resampling on a 2mm resolution of the space).name (
str
) – This workflow’s identifier (default:func_derivatives_wf
).