.. _pipeline: Pipeline ======== SABRE's use of the `Nipype `_ neuroimaging workflow engine makes it easy to integrate with other pipelines. The following sections describe SABRE's Python API. .. code-block:: python import nipype.pipeline.engine as pe from sbl.sabre.workflows import TIVExtractionWorkflow myworkflow = pe.Workflow('MyWorkflow') # ... extract = TIVExtractionWorkflow(template_type='T2') myworkflow.connect(somenode, 'T2_image', extract, 'T2_image') myworkflow.connect(somenode, 'PD_image', extract, 'PD_image') myworkflow.connect(somenode, 'TIV_template', extract, 'TIV_template') myworkflow.connect(somenode, 'TIV_template_mask', extract, 'TIV_template_mask') # ... myworkflow.connect(TIV, 'mask_image', datasink, 'TIV_mask') # ... myworkflow.run() Contents: .. toctree:: :maxdepth: 3 workflows/index interfaces/index utilities