[Homer-users] [Homer-Users] Error message after downsampling

鄭百芸 p86044205 at mail.ncku.edu.tw
Tue Oct 17 06:19:15 EDT 2017
Search archives:

Hi Meryem, 

Thanks for your help, sincerely.
I've updated the new version of " hmrNirsFileDownsample.m" from "https://www.nitrc.org/svn/homer2/UTILITIES/hmrNirsFileDownsample.m" .

It can work now! 

However, errors message still appear when opened the data file that after downsampling.

Is there any way to fix the error message?

Thanks again. 
Amanda

On Mon, 16 Oct 2017 16:13:41 +0000, Yucel, Meryem A. wrote
> Hi Amanda, 
>    
> I change the downsample code to allow non-integer downsampling factor. 
> Please update your HOMER (developer's version) and try again (with downsampling factor 1.2), it should work. 
>    
> Meryem 
>    
>    
> 
> From: homer-users-bounces at nmr.mgh.harvard.edu [mailto:homer-users-bounces at nmr.mgh.harvard.edu] On Behalf Of ???
> Sent: Saturday, October 14, 2017 4:51 AM
> To: homer-users at nmr.mgh.harvard.edu
> Subject: Re: [Homer-users] [Homer-Users] Error message after downsampling 
>    
> 
> Hi, 
> The attached file is the raw data. And the picture is the error message. 
> 
>    
> 
>  I want to change the sampling rate from 12.5 to 10.42 Hz.  
>   
> 
> The processed functions I use are:   
> 
>            i.              hmrIntensity2OD 
>           ii.               hmrBandpassFilt 
>        iii.              hmrMotionCorrectPCA 
>        iv.               hmrMotionArtifactByChannel 
>           v.               hmrMotionCorrectSpline 
>        vi.               hmrOD2Conc 
>       vii.               hmrBlockAvg 
> Thank you! 
> 
>    
> On Thu, 12 Oct 2017 21:16:09 +0000, Yucel, Meryem A. wrote 
> > Hi Amanda, 
> >   
> > Please send me a sample nirs file for me to reproduce the error you get. 
> >   
> > Meryem 
> >   
> > 
> > From: homer-users-bounces at nmr.mgh.harvard.edu [mailto:homer-users-bounces at nmr.mgh.harvard.edu] On Behalf Of ??? 
> > Sent: Thursday, October 12, 2017 11:09 AM 
> > To: homer-users at nmr.mgh.harvard.edu 
> > Subject: [Homer-users] [Homer-Users] Error message after downsampling 
> >   
> > Hi , 
> > 
> > I used the "Downsample NIRS file" in the tool menu and decreased the sampling rate of a sequence by 2.08 (Change the sampling rate from 12.5Hz to 10.42Hz).  
> > 
> > Everything was okay during the data processing, an "Error message" appeared when I opened the post-processed nirs files by Homer UI. 
> > 
> > The error message is " Error:  invalid stim matrix(s)".  
> > 
> > I wonder how to fix this problem.   
> > 
> >   
> > 
> > And I can't find any difference after downsample the nirs  file, please tell me how to downsample the  data correctly. 
> > 
> > Thank you! 
> > 
> > Amanda 
> 
>

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/homer-users/attachments/20171017/4c241934/attachment.html 


More information about the Homer-users mailing list