Gowerlabs / lumomat

MATLAB tools and SNIRF export for LUMO
https://www.gowerlabs.co.uk/lumo
MIT License
10 stars 2 forks source link

Fixauxnirs #58

Open Giuseppe-1993 opened 2 days ago

Giuseppe-1993 commented 2 days ago

The current version of lumomat (v1.8.0) outputs a NIRS structure which does not fully align with the Homer2's user guide (user guide). Currently, if event markers are missing from the .lufr output file, the _writeNIRS() function inserts an empty array into the s field. Additionally, the aux field containing the auxiliary data is missing altogether. As a result, the converted NIRS structure is incompatible with Homer2, which, as per the user guide, requires both aux and s fields to successfully load NIRS data.

This pull request enhances the compatibility of lumomat with Homer2 by: