Hello i am trying to run the matlab code provided by this link. http://www.nitrc.org/projects/hitachi2nirs
When I try to run it by uploading the hitachi csv give the error.
Index exceeds the number of array elements (0).
Error in Hitachi_2_Homer_v3 (line 35)
text_array = tline(rindex(1)+1:end);
Can someone help on this matter.
Hi, I recommend you to contact the email listed in SUPPORT in that page.
This is the Brainstorm software forum
hi.
Sorry, I don't have any experience with Hitachi data. If you don't get awnser from the support team of the package; you can try to open your Hitachi data with another package and convert it to snirf that can be opened in brainstorm.
For example, in the nirs-toolbox (GitHub - huppertt/nirs-toolbox: Toolbox for fNIRS analysis) a typical code for conversion would look like that:
raw = nirs.io.loadHitachiV2(''); % or nirs.io.loadHitachi
nirs.io.saveSNIRF(raw, 'file.snirf')
if you have access to the acquisition software from Hitachi, you can also check if you have the possibility to directly export to snirf format which is now the accepted format in the nirs community.
Regards;
Edouard
2 Likes