[Neuroimaging] nipype interface not working
Jörg Stadler
jstadler at lin-magdeburg.de
Tue Jun 2 06:23:42 EDT 2020
Hi,
this should only print the command line.
jacobian.run()
should do the trick. The example is misleading.
Jörg
> Hi,
>
> I am trying to use ANTS module available in nipype interface. The
> example code is given below:
>
>
>
> *from**nipype.interfaces.ants**import*CreateJacobianDeterminantImage
>
> *>>> *jacobian =CreateJacobianDeterminantImage()
>
> *>>> *jacobian.inputs.imageDimension =3
>
> *>>> *jacobian.inputs.deformationField ='ants_Warp.nii.gz'
>
> *>>> *jacobian.inputs.outputImage ='out_name.nii.gz'
>
> *>>> *jacobian.cmdline
>
>
>
> The problem is that the code is not generating the output image and
> runs without popping any error message.
>
>
>
> I am using spyder 4.1.3 to run this code.
>
>
>
> Thanks for your positive suggestions in response.
>
>
>
> Regards
>
> Qasim
>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20200602/40bbbacf/attachment.html>
More information about the Neuroimaging
mailing list