Inheritance diagram for nipype.pipeline.node_wrapper:
digraph inheritance7ee9e2572a { rankdir=LR; ratio=compress; fontsize=14; size="6.0, 8.0"; "node_wrapper.NodeWrapper" [shape=ellipse,URL="#nipype.pipeline.node_wrapper.NodeWrapper",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=14,color=dodgerblue1,style=filled,height=0.75]; }
Wraps interfaces modules to work with pipeline engine
Bases: object
Base class wrapper for interface objects to create nodes that can be used in the pipeline engine.
| Parameters: | interface : interface object
iterables : generator
iterfield : 1-element list
base_directory : directory
diskbased : Boolean
overwrite : Boolean
name : string
|
|---|
Notes
creates output directory copies/discovers files to work with saves a hash.json file to indicate that a process has been completed
Examples
>>> import nipype.interfaces.spm as spm
>>> realign = NodeWrapper(interface=spm.Realign(), base_directory='test2', diskbased=True)
>>> realign.inputs.infile = os.path.abspath('data/funcrun.nii')
>>> realign.inputs.register_to_mean = True
>>> realign.run() # doctest: +SKIP