NIPY logo

Table Of Contents

Previous topic

nipype.interfaces.utility

Next topic

Developer Guide

This Page

nipype.workflows.freesurfer.utils

create_get_stats_flow()

Retrieves stats from labels

Parameters

name : string
name of workflow
withreg : boolean
indicates whether to register source to label

Example

Inputs:

inputspec.source_file : reference image for mask generation
inputspec.label_file : label file from which to get ROIs

(optionally with registration)
inputspec.reg_file : bbreg file (assumes reg from source to label
inputspec.inverse : boolean whether to invert the registration
inputspec.subjects_dir : freesurfer subjects directory

Outputs:

outputspec.stats_file : stats file

Graph

digraph getstats{

  label="getstats";

  getstats_inputspec[label="inputspec.IdentityInterface.utility"];

  getstats_segstats[label="segstats.SegStats.freesurfer"];

  getstats_outputspec[label="outputspec.IdentityInterface.utility"];

  getstats_inputspec -> getstats_segstats;

  getstats_inputspec -> getstats_segstats;

  getstats_segstats -> getstats_outputspec;

}