Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Support Forums
 Analysis Software Support
 tstatprofile2 autodetectmr error

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
rkozink Posted - Dec 19 2005 : 1:25:35 PM
When attempting to run tstatprofile2, I have been receiving the following error message after selecting the control file:

??? Error using ==> tstatprofile2>main
Error using ==> autodetectmr
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer.

Error in ==> tstatprofile2 at 67
vout = main(tsp2params);

Error in ==> tstatprofile2 at 50
vout = tstatprofile2(fullfile(hdrPath,hdrFile));

Any suggestions?
3   L A T E S T    R E P L I E S    (Newest First)
josh.bizzell Posted - Dec 19 2005 : 2:34:30 PM
After running a few tests to replicate your data, I can't seem to figure out what the problem is. There are a few things I would recommend trying:

-If you have a .bxh file for your "swraV*.img" files, use it in the RunName field.
-Try using bxheventstats, a newer program for epoch averaging of event related fMR data.
-If you don't have .bxh files, but do have Analyze headers, try using those. (e.g. RunName=C:/NicFree.01a/Data/Func/4301/4301_v1/run002_01/swraV*.hdr)
-If you don't have .bxh files or Analyze header files, you might be able to use the Matlab function "bxhabsorb" to create .bxh files.

If none of these suggestions work, and you need to use tstatprofile2 rather than bxheventstats, you can email me and we can try to figure this out offline.

-Josh
bizzell@biac.duke.edu
rkozink Posted - Dec 19 2005 : 1:38:15 PM
Josh,

My control file is:

XPixels=79
YPixels=95
ZPixels=68
Bins= 1 2 3
BinsTest=[1 2]
ParadigmColumn=1
PreEventPts=2
PostEventPts=7
Base1=-2
Base2=0
FilenameType=Unique
Threshhold=300
RunDataType=volume

CorrelationTemplate=C:/NicFree.01a/control/weights.txt
OutPath=C:/NicFree.01a/Analysis/swra_tstat/4301_v1/

RunName=C:/NicFree.01a/Data/Func/4301/4301_v1/run002_01/swraV*.img
Paradigm=C:/NicFree.01a/Control/prdgm_cue001.txt
Timepts=170

RunName=C:/NicFree.01a/Data/Func/4301/4301_v1/run002_02/swraV*.img
Paradigm=C:/NicFree.01a/Control/prdgm_cue002.txt
Timepts=170

RunName=C:/NicFree.01a/Data/Func/4301/4301_v1/run002_03/swraV*.img
Paradigm=C:/NicFree.01a/Control/prdgm_cue003.txt
Timepts=170
josh.bizzell Posted - Dec 19 2005 : 1:33:32 PM
It looks like a problem with autodetectmr, which tries to determine the image format from the file name. Could you post your control file?

BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.35 seconds. Snitz Forums 2000