interfaces.vista.vista

Vnifti2Image

Link to code

Wraps the executable command 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()                                       

Inputs:

[Mandatory]
in_file: (an existing file name)
        in file
        argument: ``-in %s``, position: 1

[Optional]
attributes: (an existing file name)
        attribute file
        argument: ``-attr %s``, position: 2
out_file: (a file name)
        output data file
        argument: ``-out %s``, position: -1
args: (a unicode string)
        Additional parameters to the command
        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', nipype default value: {})
        Environment variables

Outputs:

out_file: (an existing file name)
        Output vista file

VtoMat

Link to code

Wraps the executable command 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()                                       

Inputs:

[Mandatory]
in_file: (an existing file name)
        in file
        argument: ``-in %s``, position: 1

[Optional]
out_file: (a file name)
        output mat file
        argument: ``-out %s``, position: -1
args: (a unicode string)
        Additional parameters to the command
        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', nipype default value: {})
        Environment variables

Outputs:

out_file: (an existing file name)
        Output mat file