[Homer-users] Export function not working

家鋒 alvin4016 at yahoo.com.tw
Wed Jun 19 11:12:42 EDT 2013
Search archives:

Dear Ingo

I agree with you. Many people suffer from this problem while using Homer2.
The content of ExportHRF.m (the function in exporting HRF) is somehow wrong.
Such as one may get the error message indicating missing information of "SD.MeasList" in line #20.
This can be simply solved by replacing line #9 SD = subj.procInput.SD; by SD= subj.procInput.procInputRun.SD; in ExportHRF.m.
However, the final output format of HRF is still incorrect (many channels are lost in output file).

In my opinion, the best way to acquire the HRF values is from the global variable "hmr".
The session HRF is stored under the field name of "hmr" structure as followed:
Simply enter global hmr in command window after the signal processing.
Then you can find the values of HRF in.....

hmr.group.subjs(n).procResult.dcAvg 

        % the average HRF, the size is timepoints*hemo_components*channels*stim_conditions
where n is the number of session.

You can also find.....
hmr.group.subjs(n).procResult.dcAvgStd   
        % the std of averaged HRF, the size is timepoints*hemo_components*channels*stim_conditions
hmr.group.subjs(n).procResult.tHRF
        % the time label (in second) of x-axis
hmr.group.subjs(n).procResult.nTrials  % the trial number for all channels*stim_conditions
   
If you want to get HRF values for each subject (run).
You can also add global procResult_runs in line #1036 in EasyNIRS.m, and also enter global procResult_runs in command window.

procResult_runs{iRun}.dcAvg;            % the average HRF
procResult_runs{iRun}.dcAvgStd;
procResult_runs{iRun}.dcSum2;
procResult_runs{iRun}.tHRF;
procResult_runs{iRun}.nTrials;

where iRun is the number of subjuct (run).

 

================================================
Chia-Feng Lu, PhD, RT
Brain Research Center
Dept. of Biomedical Imaging and Radiological Sciences
Dept. of Physical Therapy and Assistive Technology
National Yang-Ming University, Taipei, Taiwan



________________________________
 寄件者: Ingo Helmich <in.helmich at gmail.com>
收件者: homer-users at nmr.mgh.harvard.edu 
寄件日期: 2013/6/19 (週三) 9:34 PM
主旨: [Homer-users] Export function not working
 


Dear Homer2-Users,

I am trying to export some data from homer2. Unfortunately the export function fails every time i try (not giving some information why/what is happening). If anyone experienced the same problem, i would appreciate some help. I therefore attach a .nirs-file i am facing the problem with.

thank you,
Ingo

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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20130619/59b964b4/attachment.html 


More information about the Homer-users mailing list