nipype.interfaces.vista.vista module

Vnifti2Image

Link to code

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()  
in_filea pathlike object or string representing an existing file

In file. Maps to a command-line argument: -in %s (position: 1).

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).

out_filea pathlike object or string representing an existing file

Output vista file.

VtoMat

Link to code

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()  
in_filea pathlike object or string representing an existing file

In file. Maps to a command-line argument: -in %s (position: 1).

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).

out_filea pathlike object or string representing an existing file

Output mat file.