Understanding hmrIntensity2OD - when is data set to NaN?
That is really weird. Did you get the latest development version from github? It feels like you have conflicting versions of code and the snirf class is not configured properly. Make sure you have a clean clone of the development repository and that the matlab path only points to this clean clone with setpaths run in that directory. Maybe you have other version of Homer in your path.
Or maybe there is an error with the code, but I believe others in our group are using these functions regularly.
@le_rah, I can have a look at the issue, if you can provide a sample snirf file. This platform allows 1MB max. If this is not enough, please provide a link.
Regarding David's question, can you confirm that you use the latest development, and have only that version on your MATLAB path?