AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
April 02, 2015 11:05AM
I've got two runs of rest data collected on a subject. Running through RetroTS on the first run worked fine, but I get the following error when trying run2:

File ./subject_epi_run2.Resp.1D exists and will be read.
Reading file
Error using griddedInterpolant
The grid vectors are not strictly monotonic increasing.

Error in interp1 (line 191)
F = griddedInterpolant(X,V,method);

Error in PeakFinder (line 267)
R(icol).ntraceR = interp1( R(icol).tntrace', R(icol).ntrace, ...

Error in RetroTS (line 281)
[R,e]= PeakFinder(Opt.Respfile,OptR);


The problem seems to be the with run2.Resp.1D file, but I cannot figure out the problem. RetroTS works fine if I substitute the run1.Resp.1D and use the run2.ECG.1D file, so I know it's not a problem with all of the run2 data. The run2.Resp.1D file is the correct length, and looks normal from a visual perspective.

I'm happy to share the Resp.1D and ECG.1D files if necessary.

Any ideas?
Subject Author Posted

RetroTS error

millevis April 02, 2015 11:05AM

Re: RetroTS error

sdb99 October 16, 2015 10:53AM

Re: RetroTS error

rick reynolds October 16, 2015 04:26PM