Warning: This document is for an old version of niworkflows. The main version is master.

niworkflows.interfaces.cifti module

Handling connectivity: combines FreeSurfer surfaces with subcortical volumes.

class niworkflows.interfaces.cifti.CiftiNameSource(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Construct new filename based on unique label of spaces used to generate a CIFTI file.

Examples

>>> namer = CiftiNameSource()
>>> namer.inputs.variant = 'HCP grayordinates'
>>> res = namer.run()
>>> res.outputs.out_name
'space-fsLR_bold.dtseries'
>>> namer.inputs.density = '32k'
>>> res = namer.run()
>>> res.outputs.out_name
'space-fsLR_den-32k_bold.dtseries'
input_spec

alias of niworkflows.interfaces.cifti._CiftiNameSourceInputSpec

output_spec

alias of niworkflows.interfaces.cifti._CiftiNameSourceOutputSpec

class niworkflows.interfaces.cifti.GenerateCifti(from_file=None, resource_monitor=None, **inputs)[source]

Bases: nipype.interfaces.base.core.SimpleInterface

Generate CIFTI image from BOLD file in target spaces.

Currently supports fsLR, fsaverage5, or fsaverage6 for template surfaces and MNI152NLin6Asym or MNI152NLin2009cAsym as template volumes.

input_spec

alias of niworkflows.interfaces.cifti._GenerateCiftiInputSpec

output_spec

alias of niworkflows.interfaces.cifti._GenerateCiftiOutputSpec