nipype.interfaces.petpvc module¶
PETPVC is a toolbox for partial volume correction in positron emission tomography.
PETPVC¶
Bases: CommandLine
Wrapped executable:
petpvc.Use PETPVC for partial volume correction of PET images.
PETPVC ([1], [2]) is a software from the Nuclear Medicine Department of the UCL University Hospital, London, UK.
Examples
>>> from ..testing import example_data >>> #TODO get data for PETPVC >>> pvc = PETPVC() >>> pvc.inputs.in_file = 'pet.nii.gz' >>> pvc.inputs.mask_file = 'tissues.nii.gz' >>> pvc.inputs.out_file = 'pet_pvc_rbv.nii.gz' >>> pvc.inputs.pvc = 'RBV' >>> pvc.inputs.fwhm_x = 2.0 >>> pvc.inputs.fwhm_y = 2.0 >>> pvc.inputs.fwhm_z = 2.0 >>> outs = pvc.run()References
- fwhm_xa float
The full-width at half maximum in mm along x-axis. Maps to a command-line argument:
-x %.4f.- fwhm_ya float
The full-width at half maximum in mm along y-axis. Maps to a command-line argument:
-y %.4f.- fwhm_za float
The full-width at half maximum in mm along z-axis. Maps to a command-line argument:
-z %.4f.- in_filea pathlike object or string representing an existing file
PET image file. Maps to a command-line argument:
-i %s.- mask_filea pathlike object or string representing an existing file
Mask image file. Maps to a command-line argument:
-m %s.- pvc‘GTM’ or ‘IY’ or ‘IY+RL’ or ‘IY+VC’ or ‘LABBE’ or ‘LABBE+MTC’ or ‘LABBE+MTC+RL’ or ‘LABBE+MTC+VC’ or ‘LABBE+RBV’ or ‘LABBE+RBV+RL’ or ‘LABBE+RBV+VC’ or ‘MG’ or ‘MG+RL’ or ‘MG+VC’ or ‘MTC’ or ‘MTC+RL’ or ‘MTC+VC’ or ‘RBV’ or ‘RBV+RL’ or ‘RBV+VC’ or ‘RL’ or ‘VC’ or ‘STC’
Desired PVC method:
Geometric transfer matrix –
GTMLabbe approach –
LABBERichardson-Lucy –
RLVan-Cittert –
VCRegion-based voxel-wise correction –
RBVRBV with Labbe –
LABBE+RBVRBV with Van-Cittert –
RBV+VCRBV with Richardson-Lucy –
RBV+RLRBV with Labbe and Van-Cittert –
LABBE+RBV+VCRBV with Labbe and Richardson-Lucy –
LABBE+RBV+RLMulti-target correction –
MTCMTC with Labbe –
LABBE+MTCMTC with Van-Cittert –
MTC+VCMTC with Richardson-Lucy –
MTC+RLMTC with Labbe and Van-Cittert –
LABBE+MTC+VCMTC with Labbe and Richardson-Lucy –
LABBE+MTC+RLIterative Yang –
IYIterative Yang with Van-Cittert –
IY+VCIterative Yang with Richardson-Lucy –
IY+RLMuller Gartner –
MGMuller Gartner with Van-Cittert –
MG+VCMuller Gartner with Richardson-Lucy –
MG+RLSingle-target correction –
STCMaps to a command-line argument:
-p %s.
- alphaa float
Alpha value. Maps to a command-line argument:
-a %.4f. (Nipype default value:1.5)- argsa string
Additional parameters to the command. Maps to a command-line argument:
%s.- debuga boolean
Prints debug information. Maps to a command-line argument:
-d. (Nipype default value:False)- 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:
{})- n_deconvan integer
Number of deconvolution iterations. Maps to a command-line argument:
-k %d. (Nipype default value:10)- n_iteran integer
Number of iterations. Maps to a command-line argument:
-n %d. (Nipype default value:10)- out_filea pathlike object or string representing a file
Output file. Maps to a command-line argument:
-o %s.- stop_crita float
Stopping criterion. Maps to a command-line argument:
-s %.4f. (Nipype default value:0.01)
- out_filea pathlike object or string representing a file
Output file.