neuroelf / neuroelf-matlab

NeuroElf (MATLAB)
Other
15 stars 14 forks source link

Convert nii to VTC #2

Closed alexsayal closed 3 years ago

alexsayal commented 4 years ago

Hello,

Is it possible to use Neuroelf to convert from a processed functional .nii file to BrainVoyager's VTC format? I was told this was possible but I can't find this option :/

Thank you in advance,

igorkagan commented 4 years ago

One simple way is vtc = importvtcfromanalyze(nii); % this is a private function from \@neuroelf\private where nii is a cell array with .nii filenames -- if it is only one file, still include it in the brackets: nii = {'path_to_nii_file'}; Looking into this function might help you to figure out how to do in using only proper NeuroElf-exposed methods.

alexsayal commented 3 years ago

Thank you @igorkagan.

I did manage to do this using importvtcfromanalyze(). Example script here.

BrainStormCenter commented 3 years ago

Thank you! I've been wanting to do this for a while but didn’t know how.