Input file as an iterable

Hi guys:

I was wondering if I can make an input file as an iterable. Let’s say I want to use both SUSAN for isotropic smoothing and spm.smooth for anisotropic smoothing then apply highpass folder. Can I make the input file of high pass filter as an iterable so I can use it with both SUSAN and spm.smooth. So far, I can surpass the problem by cloning the node. But, is there a more efficient way to do it?

Thanks

You can see an example of using iterable for file selection in one of the notebook from Nipype Tutorial: https://miykael.github.io/nipype_tutorial/notebooks/example_preprocessing.html#Specify-input-&-output-stream

Hope this will help.

1 Like