aslprep.workflows.base module

ASLprep base processing workflows.

init_aslprep_wf()[source]

Build ASLPrep’s pipeline.

This workflow organizes the execution of aslprep, with a sub-workflow for each subject.

If FreeSurfer’s recon-all is to be run, a corresponding folder is created and populated with any needed template subjects under the derivatives folder.

Workflow Graph

(Source code)

init_single_subject_wf(subject_id)[source]

Organize the preprocessing pipeline for a single subject.

It collects and reports information about the subject, and prepares sub-workflows to perform anatomical and functional preprocessing. Anatomical preprocessing is performed in a single workflow, regardless of the number of sessions. Functional preprocessing is performed using a separate workflow for each individual ASL series.

Workflow Graph

(Source code)

Parameters:

subject_id (str) – Subject label for this single-subject workflow.

Inputs:

subjects_dir (str) – FreeSurfer’s $SUBJECTS_DIR.