Hi Bec,
We added "hmrR_PreprocessIntensity_NAN" function to latest master copy of Homer3. Do you want to try that instead of manually changing it offline? Please provide us your feedback.
Thanks,
Meryem
Hi Meryem,
Thank you for getting back to me so quickly. The hmrR_PreprocessIntensity_NAN function is working with my data. However, I receive the same error message if I try to run a bandpass filter (Function hmrR BandpassFilt generated at line 114: Expected input to be finite.), so I would like to be able to clean the data and resave it as a .nirs file to avoid issues with NaN values when filtering in general.
Thanks,
Bec
Hi all,
Try again with the latest development branch of Homer3, which should prevent NaN data from crashing the analysis. https://github.com/BUNPC/Homer3/archive/refs/heads/development.zip
If you would like to load and save Snirf files and edit them manually in MATLAB, please see this wiki page.
Rebecca, not sure if your question was ever answered, sorry about that. You can find information about snirf loader and saver in the link below. You will be changing the time series in the data object with the corrected d.
https://github.com/BUNPC/Homer3/wiki/Standalone-SNIRF-loading-and-saving