NIPY logo

Table Of Contents

Previous topic

Interfaces and Algorithms

Next topic

nipype.algorithms.modelgen

This Page

nipype.algorithms.misc

PickAtlas

Returns ROI masks given an atlas and a list of labels. Supports dilation and left right masking (assuming the atlas is properly aligned).

Inputs:

[Optional]
atlas : (an existing file name)
        Location of the atlas that will be used.
dilation_size : (an integer)
        Defines how much the mask will be dilated (expanded in 3D).
hemi : ('both' or 'left' or 'right')
        Restrict the mask to only one hemisphere: left or right
labels : (an integer or a list of items which are an integer)
        Labels of regions that will be included in the mask. Must be compatible with the atlas used.
output_file : (a file name)
        Where to store the output mask.

Outputs:

mask_file : (an existing file name)
        output mask file

SimpleThreshold

Inputs:

[Mandatory]
threshold : (a float)
        volumes to be thresholdedeverything below this value will be set to zero
volumes : (an existing file name)
        volumes to be thresholded

Outputs:

thresholded_volumes : (an existing file name)
        thresholded volumes