interfaces.dipy.base

DipyBaseInterface

Link to code

A base interface for py:mod:dipy computations

Inputs:

None

Outputs:

None

DipyDiffusionInterface

Link to code

A base interface for py:mod:dipy computations

Inputs:

[Mandatory]
in_file: (an existing file name)
        input diffusion data
in_bval: (an existing file name)
        input b-values table
in_bvec: (an existing file name)
        input b-vectors table

[Optional]
b0_thres: (an integer (int or long), nipype default value: 700)
        b0 threshold
out_prefix: (a unicode string)
        output prefix for file names

Outputs:

None

convert_to_traits_type()

Link to code

Convert DIPY type to Traits type.

create_interface_specs()

Link to code

Create IN/Out interface specifications dynamically.

Parameters

class_name: str
The future class name(e.g, (MyClassInSpec))
params: list of tuple
dipy argument list
BaseClass: TraitedSpec object
parent class

Returns

newclass: object
new nipype interface specification class

dipy_to_nipype_interface()

Link to code

Construct a class in order to respect nipype interface specifications.

This convenient class factory convert a DIPY Workflow to a nipype interface.

Parameters

cls_name: string
new class name
dipy_flow: Workflow class type.
It should be any children class of dipy.workflows.workflow.Worflow
BaseClass: object
nipype instance object

Returns

newclass: object
new nipype interface specification class