nipype.interfaces.vista.vista module¶
Vnifti2Image¶
Bases: CommandLine
Wrapped 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_file (a pathlike object or string representing an existing file) – In file. Maps to a command-line argument:
-in %s
(position: 1).- Optional Inputs
args (a unicode string) – Additional parameters to the command. Maps to a command-line argument:
%s
.attributes (a pathlike object or string representing an existing file) – Attribute file. Maps to a command-line argument:
-attr %s
(position: 2).environ (a 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_file (a pathlike object or string representing a file) – Output data file. Maps to a command-line argument:
-out %s
(position: -1).- Outputs
out_file (a pathlike object or string representing an existing file) – Output vista file.
VtoMat¶
Bases: CommandLine
Wrapped 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_file (a pathlike object or string representing an existing file) – In file. Maps to a command-line argument:
-in %s
(position: 1).- Optional Inputs
args (a unicode string) – Additional parameters to the command. Maps to a command-line argument:
%s
.environ (a 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_file (a pathlike object or string representing a file) – Output mat file. Maps to a command-line argument:
-out %s
(position: -1).- Outputs
out_file (a pathlike object or string representing an existing file) – Output mat file.