Fslselectvols alternative in nipype?


#1

Hello,

fslselectvols does not appear to be wrapped in nipype yet. Is equivalent functionality available with a different tool/interface?

Thanks.


#2

Nilearn has a function called index_img that does pretty much the same thing. It returns a Nifti1Image, so you’ll need to save that to a file with img.to_filename to match fslselectvols, I think.


#3

Thanks for the tip! I ended up writing a simple wrapper around fslselectvols. It needs polishing, if I get time to do that I’ll open a PR.