Updated loadHitachiText.m

16 sec read

Some labs have been using our script readHitachiData.m to load NIRS data from Hitachi ETG machines. We recently found that some output MES data contains abnormal timestamp. For example, the timestamp should be like


But for some rows (although rarely), the time is like (note the ending character)


This will cause our script to choke. We just fixed this issue, and you need to replace loadHitachiText.m. The new version can be found here.

第三十二期 fNIRS Journal Club 通知 2022/07/30,10am 郑一磊

Xu Cui
7 sec read

第三十一期 fNIRS Journal Club 视频 谢恩慧

华东师范大学李先春教授实验室的谢恩慧为大家讲解他们最近发布的一篇文章。 Youtube: https://youtu.be/ulcIVaZpQLM Youku: https://v.youku.com
Xu Cui
4 sec read


本文作者是刘宁博士 作者简介:刘宁,塔夫斯大学生物医学工程博士(Tufts University),斯坦福大学脑科学方向科研人员。 Frontiers 杂志客座编辑(Guest Associate E
Xu Cui
11 sec read

4 Replies to “Updated loadHitachiText.m”

  1. I found that readHitachiData.m can read 2 .csv from two patches of 4×4 and 3×5 configurations,but it seems something wrong when we put in 2 .csv from patches of 4×4 (as the first input) and 3×5 (as the second input) configurations simultaneously. For example, “[hbo,hbr,mark] = readHitachData({‘file1_4x4.csv’,’file2_3x5.csv’});” You will find that the channel number is wrong (48?).I guess that the channel number of 4×4 configurations is 24,but the the channel number of 3×5 configurations is 22, and the structure were not updated. I insert an additional script in the line 86. I’m wondering if it is the case.

    line 84——nirs_data.oxyData = [nirs_data.oxyData hbodata];
    line 85——nirs_data.dxyData = [nirs_data.dxyData hbdata];
    line 86——clear hbodata hbdata;%%% Am I right?
    line 87——end

  2. readHitachiData can’t read files from two different configuration. You may call each file separately.


Leave a Reply

Your email address will not be published. Required fields are marked *