Questions tagged [nipype]

Nipype: Neuroimaging in Python Pipelines and Interfaces It enables the use different imaging processing tools like fsl, spm, afni, freesurfer and others more.

Nipype, an open-source, community-developed initiative under the umbrella of NiPy, is a Python project that provides a uniform interface to existing neuroimaging software and facilitates interaction between these packages within a single workflow. Nipype provides an environment that encourages interactive exploration of algorithms from different packages (e.g., SPM, FSL, FreeSurfer, Camino, MRtrix, AFNI, Slicer), eases the design of workflows within and between packages, and reduces the learning curve necessary to use different packages. Nipype is creating a collaborative platform for neuroimaging software development in a high-level language and addressing limitations of existing pipeline systems.

Nipype allows you to:

  • easily interact with tools from different software packages
  • combine processing steps from different software packages
  • develop new workflows faster by reusing common steps from old ones
  • process data faster by running it in parallel on many cores/machines
  • make your research easily reproducible
  • share your processing workflows with the community
24 questions
0
votes
0 answers

Neuroimaging 'nipype ' plugin not working

I was working on something an I this is actually my first time so things are not that clear for me yet, I ran this code : pip install nipype from nipype import Node, Workflow from nipype.interfaces.fsl import SliceTimer, MCFLIRT, Smooth slicetimer…
0
votes
1 answer

Iterating over the number of axes of a 4D numpy array

this is probably very simple and I'm just overlooking something but here you go: I have a 4D array in shape: (x,y,z,t) How do i iterate over the number of axis of that array wit a for-loop? Not along a single axis but once for every axis? Something…
Lightnjer
  • 27
  • 5
0
votes
1 answer

How to search the output of a script and save a subsection to a file?

I have a command nipype.interface.afni.Warp which gives me the following python terminal output: 190920-12:22:00,333 nipype.interface INFO: stderr 2019-09-20T12:22:00.333467:++ 3dWarp: AFNI version=AFNI_19.2.21 (Aug 29 2019)…
0
votes
1 answer

assert group is none

I am trying to run a preprocessing pipeline using nipype and I get the following error message: Traceback (most recent call last): File "preprocscript.py", line 211, in preproc.run('MultiProc', plugin_args={'n_procs': 8}) File…
0
votes
1 answer

fsl.Merge() command not found (when using through nipype.interfaces)

I have already installed these: conda install -c conda-forge nipype conda install -c conda-forge nitime conda install -c conda-forge nibabel conda install -c conda-forge nilearn Sample code: from nipype.interfaces import fsl import os import…
Animesh Kumar Paul
  • 2,241
  • 4
  • 26
  • 37
0
votes
1 answer

Nipype DataGrabber: The 'in_file' trait of a <> instance must be an existing file name, but a value of <> was specified

I am trying to build a Workflow for normalization/coregistration. Here is my DataGrabber data_grabber = Node(interface=DataGrabber(infields=['subject_id'], outfields=['t1', 'flair', 'les','ref']), …
aorco
  • 1
  • 4
0
votes
1 answer

"command 'bet' could not be found on host" error while using BET in FSL on Windows 10 via Python 3.5

I need to perform brain extraction on .nii images. I am using Anaconda on Windows 10 and have an environment based on Python 3.5.4. On Nipype I found the BET from FSL and I followed the code: mybet = fsl.BET() mybet.inputs.in_file =…
0
votes
1 answer

String format argument for traits.Any

I'm using enthought canopy's traits to wrap a code for Nipype. I know format argument is %d for integer variables. However, Multiplication variable below should be also a file. multiplication = traits.Int(argstr='-mul %d', desc='multiplication',…
yasin.yazici
  • 275
  • 1
  • 2
  • 12
0
votes
1 answer

Nipype AttributeError: 'Node' object has no attribute

The partial code below works without any error: #fslorient forceneurological fslorient = pe.Node(interface = fslorient.FslOrient(), name = 'fslorient') fslorient.inputs.main_option = 'forceneurological' However, when I add a second Node with the…
yasin.yazici
  • 275
  • 1
  • 2
  • 12
1
2