nipype.interfaces.vista.vista module¶
- class nipype.interfaces.vista.vista.Vnifti2Image(command=None, terminal_output=None, write_cmdline=False, **inputs)¶
Bases:
CommandLineWrapped executable:
vnifti2image.Convert a nifti file into a vista file.
Example
>>> vimage = Vnifti2Image() >>> vimage.inputs.in_file = 'image.nii' >>> vimage.cmdline 'vnifti2image -in image.nii -out image.v' >>> vimage.run()
Mandatory Inputs¶
- in_filea pathlike object or string representing an existing file
In file. Maps to a command-line argument:
-in %s(position: 1).
Optional Inputs¶
- argsa string
Additional parameters to the command. Maps to a command-line argument:
%s.- attributesa pathlike object or string representing an existing file
Attribute file. Maps to a command-line argument:
-attr %s(position: 2).- environa dictionary with keys which are a bytes or None or a value of class ‘str’ and with values which are a bytes or None or a value of class ‘str’
Environment variables. (Nipype default value:
{})- out_filea pathlike object or string representing a file
Output data file. Maps to a command-line argument:
-out %s(position: -1).
Outputs¶
- out_filea pathlike object or string representing an existing file
Output vista file.
- class nipype.interfaces.vista.vista.VtoMat(command=None, terminal_output=None, write_cmdline=False, **inputs)¶
Bases:
CommandLineWrapped executable:
vtomat.Convert a nifti file into a vista file.
Example
>>> vimage = VtoMat() >>> vimage.inputs.in_file = 'image.v' >>> vimage.cmdline 'vtomat -in image.v -out image.mat' >>> vimage.run()
Mandatory Inputs¶
- in_filea pathlike object or string representing an existing file
In file. Maps to a command-line argument:
-in %s(position: 1).
Optional Inputs¶
- argsa string
Additional parameters to the command. Maps to a command-line argument:
%s.- environa dictionary with keys which are a bytes or None or a value of class ‘str’ and with values which are a bytes or None or a value of class ‘str’
Environment variables. (Nipype default value:
{})- out_filea pathlike object or string representing a file
Output mat file. Maps to a command-line argument:
-out %s(position: -1).
Outputs¶
- out_filea pathlike object or string representing an existing file
Output mat file.