[Homer-users] HRF export Error

Jörn M. Horschig jorn at artinis.com
Thu Nov 15 06:05:15 EST 2018
Search archives:

        External Email - Use Caution        

Hi Jonathan,

 

Thanks for your mail and for thinking along. The SD.MeasList variable is fine in the .nirs fine, and it is handled properly in the higher-level functions of Homer. As Stefania wrote, the Homer function menuExportHRF_Callback actually does have the correct SD.MeasList variable inside the ‘hmr’ variable. The SD.MeasList is however missing from the individual subject-fields, which indicates to me that something went missing along the way and is not passed on correctly. Note that many of our customers use the our conversion script and I have never seen or heard of this problem, so I am quite confident that it is not due to the conversion. I suspect something is going wrong in Homer, maybe related to the specific processing pipeline that Stefania is using and her setup. I did not see anything wrong with it, and the export works fine for me with her cfg and data (apart from the fact that the export is empty, but that is another issue). It could also be an error with the specific Matlab version and processor combination, I have seen that in the past in other toolboxes, but it’s really hard to trace these errors back and I am hesitant to blame it on ‘some hardware hickup’… so, if someone has another suggestion, you are welcome.

 

With best regards,

Jörn

--
Jörn M. Horschig, PhD, Project Leader & Software Engineer
 <http://www.artinis.com/> Artinis Medical Systems  |  +31 481 350 980 

Sign up for our NIRS newsletter <http://artinis.us3.list-manage1.com/subscribe?u=6bef931b76193f0e3d1dfe654&id=550bfdab46> 

 

Or meet us here: 

November 19-21, 2018 – Australasian Society for Psychophysiology 2018, Geelong, Australia

November 22-25, 2018 – Australasian Cognitive neuroscience conference, Melbourne, Australia

November 26-28, 2018 – First International Motor impairment conference, Sydney, Australia

December 3-6, 2018 – Australasian neuroscience Society meeting, Brisbane, Australia

February 20-22, 2019 – German Exercise Science & Training – Wurzburg, Germany

May 9-11, 2019 -  Artscientific: 3rd Artinis symposium – Egmond aan Zee, the Netherlands

September 19-21, 2019 – Japanese Society of Physical Fitness and Sports Medicine – Tsukuba, Ibaragi, Japan

 

From: homer-users-bounces at nmr.mgh.harvard.edu <homer-users-bounces at nmr.mgh.harvard.edu> On Behalf Of Jonathan Perry
Sent: Wednesday, November 14, 2018 16:00
To: homer-users at nmr.mgh.harvard.edu
Subject: Re: [Homer-users] HRF export Error

 

        External Email - Use Caution        

Hello Sefania,

 

This is likely due to your conversion script not including the SD.MeasList variable.

 

You can create the variable and save it to your .nirs file, or you can look for an updated version of the conversion script.  

 

I know NIRx has one available if you are utilizing one of these systems, but I am sure other systems have these available as well, I am only less aware.

 

There is a video on youtube on what the SD variable consists of here <https://www.youtube.com/watch?v=WXQXeYqEplo&t=2s> .

 

Keep in mind in creating the variable, it is a Matlab struct and needs to be saved to your .nirs file.

 

I hope this helps!




Jonathan Perry

Tel:  <tel:%28713%29%20743-4159> (512)925-4910

 

On Wed, Nov 14, 2018 at 8:39 AM <homer-users-request at nmr.mgh.harvard.edu <mailto:homer-users-request at nmr.mgh.harvard.edu> > wrote:

Send Homer-users mailing list submissions to
        homer-users at nmr.mgh.harvard.edu <mailto:homer-users at nmr.mgh.harvard.edu> 

To subscribe or unsubscribe via the World Wide Web, visit
        https://mail.nmr.mgh.harvard.edu/mailman/listinfo/homer-users
or, via email, send a message with subject or body 'help' to
        homer-users-request at nmr.mgh.harvard.edu <mailto:homer-users-request at nmr.mgh.harvard.edu> 

You can reach the person managing the list at
        homer-users-owner at nmr.mgh.harvard.edu <mailto:homer-users-owner at nmr.mgh.harvard.edu> 

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Homer-users digest..."


Today's Topics:

   1. HRF export error (Stefania Lancia)


----------------------------------------------------------------------

Message: 1
Date: Wed, 31 Oct 2018 15:54:47 +0100
From: Stefania Lancia <stefania.lancia88 at gmail.com <mailto:stefania.lancia88 at gmail.com> >
Subject: [Homer-users] HRF export error
To: homer-users at nmr.mgh.harvard.edu <mailto:homer-users at nmr.mgh.harvard.edu> 
Message-ID:
        <CAPfYg-fN0nfYfczP82hUZn7edB6JD_39_Xm1Vs0G55AdxMaAFA at mail.gmail.com <mailto:CAPfYg-fN0nfYfczP82hUZn7edB6JD_39_Xm1Vs0G55AdxMaAFA at mail.gmail.com> >
Content-Type: text/plain; charset="utf-8"

        External Email - Use Caution        

Dear all,

When trying to export HRF data using the default processing pipeline, it
crashes during the process. In the Matlab command window the following
error messages appear:





Reference to non-existent field 'MeasList'.



Error in ExportHRF (line 20)

nCh = length(find(SD.MeasList(:,4)==1));



Error in EasyNIRS>menuExportHRF_Callback (line 1543)


ExportHRF(hmr.group.subjs(iSubjCurr),hmr.group.conditions.CondNamesAct,[],3);



Error in gui_mainfcn (line 95)

        feval(varargin{:});



Error in EasyNIRS (line 43)

    gui_mainfcn(gui_State, varargin{:});



Error in
@(hObject,eventdata)EasyNIRS('menuExportHRF_Callback',hObject,eventdata,guidata(hObject))





We debugged the issue together with an Artinis engineer and found that in
the menuExportHRF_Callback function the SD- variable is fine in the
hmr-variable, but the SD information does not seem to be passed on to the
individual subj-fields. Is this an error in Homer or did we do something
wrong somewhere?

I have attached one .nirs file and a .cfg with which I get this error.



Regards,

Stefania Lancia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20181031/f564a097/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: processOpt_wavelet_BlockAvg_31.10.18.cfg
Type: application/octet-stream
Size: 545 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20181031/f564a097/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Subj_1.oxy3
Type: application/octet-stream
Size: 1806060 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20181031/f564a097/attachment-0001.obj 

------------------------------

_______________________________________________
Homer-users mailing list
Homer-users at nmr.mgh.harvard.edu <mailto:Homer-users at nmr.mgh.harvard.edu> 
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/homer-users

End of Homer-users Digest, Vol 107, Issue 1
*******************************************

 


 <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 

Virus-free.  <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> www.avg.com 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20181115/c45bf038/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 350 bytes
Desc: not available
Url : http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20181115/c45bf038/attachment-0001.jpe 


More information about the Homer-users mailing list