Forum

Notifications
Clear all

can't load .nirs to .snirf

2 Posts
2 Users
0 Likes
329 Views
Posts: 1
Topic starter
(@fang)
New Member
Joined: 10 months ago

Hi all! I have some problems in reading data. When I import an entire folder into Homer3, Homer only reads 3 of them (8 in total), and displays error messages:
DataFilesClass.ErrorCheck - ERROR: In file "post_15_ST_incon.nirs" "s" is invalid.. File will not be added to data set .....and so on.

I have tried other folders and have the same problem.
How can I solve it ?

I used MATLAB R2020b , Homer3 v1.71.1
Operating system PC windows 10 x64

This is the data I am using:
https://drive.google.com/drive/folders/1wGIQ5sOBA0THU57GfSlxrn4OUKo9mQgr?usp=sharing

Topic Tags
1 Reply
Meryem Yücel
Posts: 198
(@mayucel)
Joined: 4 years ago

Hi Yun Chun,

 

Just seeing this, and perhaps you have figured it out already but here is the issue: your .nirs files (e.g. the one you refer to above) has s vector in different size than d, aux and t. Since there is a mismatch, homer cannot read the .nirs and cannot convert (see also the image capture. png attached). You simply need to load the .nirs file in matlab, fix the size of s (match it with others) and resave, then it should work.

 

Hope this helps.

meryem  

 

Reply
Share:
en_USEnglish