Forum

Notifications
Clear all

Error message: Function hmR_MotionCorrectSplineSG generated error at line 114

21 Posts
6 Users
2 Likes
1,793 Views
Meryem Yücel
Posts: 162
(@mayucel)
Joined: 3 years ago

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

Reply
Posts: 3
(@rhealey0)
New Member
Joined: 2 years ago

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

Reply
1 Reply
(@izabelamaria)
Joined: 2 years ago

Active Member
Posts: 4

@rhealey0 Hey, I'm new to Homer3 just working on my first fnirs dataset and get exactly the same error: Function hmrR BandpassFilt generated at line 114: Expected input to be finite. I expect there's something with data format, but would appreciate any pointers on how to overcome it. 

Reply
Posts: 52
(@sstucker)
Joined: 3 years ago

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.

Reply
1 Reply
(@rhealey0)
Joined: 2 years ago

New Member
Posts: 3

@sstucker Thank you so much! The development version worked perfectly.

Reply
Meryem Yücel
Posts: 162
(@mayucel)
Joined: 3 years ago

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

Reply
Page 3 / 3
Share:
en_USEnglish