[Homer-users] Error while running Homer2_UI with hmrMotionArtifact
蔡林
bertram0611 at pku.edu.cn
Tue Nov 14 05:43:43 EST 2017
I have also come across the same problem. So you mean we could not use enPCAfilter to correct motion artifacts and physiological noises?
If so, are there any other alternatives to do the similar step?
Bertram
-----原始邮件-----
发件人:"Yucel, Meryem A." <MYUCEL at mgh.harvard.edu>
发送时间:2017-11-14 04:36:08 (星期二)
收件人: "homer-users at nmr.mgh.harvard.edu" <homer-users at nmr.mgh.harvard.edu>
抄送:
主题: Re: [Homer-users] Error while running Homer2_UI with hmrMotionArtifact
Hi Charlotte,
You have many channels which are all zero which then results in Inf values in dod. The step that gives the error message is enPCAfilter which has an error check for inf values in y (any(isinf(y(:)))) even if you put 0 to skip PCA. If you remove the enpcafilter from your processing stream, it would work.
Meryem
From:homer-users-bounces at nmr.mgh.harvard.edu [mailto:homer-users-bounces at nmr.mgh.harvard.edu] On Behalf Of Charlotte PIAU
Sent: Thursday, November 09, 2017 2:28 PM
To:homer-users at nmr.mgh.harvard.edu
Subject: [Homer-users] Error while running Homer2_UI with hmrMotionArtifact
Dear Homer users,
I have attempted conducting analysis with Homer2_UI for my several fNIRS data with the aim of removing artifacts and calculating HRF. Before the Homer2 analysis, the data had been converted successfully to .nirs.
However, when I defined values in the "ProcessOpt functions" and ran the analysis, I obtained, for only one file, an error message that was popped up as below,
"Error: Function hmrMotionArtifact generated error at line 72: fs must either be "sample frequency or a time vector with same length as d"
I looked at various options in Homer2_UI to sort out this issue but they were unsuccessful. I even tried the solution proposed by Meryem (https://mail.nmr.mgh.harvard.edu/pipermail//homer-users/2017-June/001027.html) but my raw signal has not negative values.
You can find it on https://mega.nz/#!6YxzHJzR!QNclxRL_68XMDhZchs5a78ksU3-fVPM5joUBpuMQSPY
So, it would be highly thankful if you could provide a feasible solution to overcome this issue.
Looking forward your assistance.
Thank you
Best regards,
Charlotte Piau
University of Picardie – Amiens, France
PhD Student
GRAMFC - Inserm U1105
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20171114/3f1ffc29/attachment.html
More information about the Homer-users
mailing list