We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e5feaa commit 50bdee9Copy full SHA for 50bdee9
nipype/interfaces/spm/utils.py
@@ -247,6 +247,19 @@ class ApplyInverseDeformationOutput(TraitedSpec):
247
desc='Transformed files')
248
249
class ApplyInverseDeformation(SPMCommand):
250
+ """ Uses spm to apply inverse deformation stored in a .mat file or a
251
+ deformation field to a given file
252
+
253
+ Examples
254
+ --------
255
256
+ >>> import nipype.interfaces.spm.utils as spmu
257
+ >>> inv = spmu.ApplyInverseDeformation()
258
+ >>> inv.inputs.in_files = 'functional.nii'
259
+ >>> inv.inputs.deformation = 'struct_to_func.mat'
260
+ >>> inv.inputs.target = 'structural.nii'
261
+ >>> inv.run() # doctest: +SKIP
262
+ """
263
264
input_spec = ApplyInverseDeformationInput
265
output_spec = ApplyInverseDeformationOutput
0 commit comments