AFNI version info (afni -ver): AFNI_23.2.11
Hello AFNI experts!
I ran into an error while running afni_proc.py, it appears this error has to do with my timing files, but I'm not sure why.
Here is the error:
*+ WARNING: '-stim_times_AM2 1' (LOCAL) run#1 has 38 times outside range 0 .. 11 [PSFB syndrome]
+ dataset TR being used is 1 s -- unusable times follow
17.27 22.99 28.72 35.14 40.77 47.3 54.33 60.16 65.39 71.91 78.23 85.07 91.31 98.33 105.06 110.78 116.29 121.72 335.01 340.42 346.05 351.66 357.99 363.3 369.32 376.14 382.36 388.17 394.69 400.82 407.35 413.17 420.1 426.22 431.95 438.38 443.79 449.85
++ '-stim_times_AM2 1' average amplitude#1=0
++ '-stim_times_AM2 1' average amplitude#2=0.505
++ ** GUESSED ** -stim_times_AM2 2 using LOCAL times
*+ WARNING: '-stim_times_AM2 2' (LOCAL) run#1 has 60 times outside range 0 .. 11 [PSFB syndrome]
+ dataset TR being used is 1 s -- unusable times follow
161.21 181.32 233.81 267.58 278.92 251.77 313.76 209.97 302.17 272.79 166.06 240.34 198.84 221.12 204.66 257.3 246.44 216.29 153.54 193.88 227.81 307.57 171.03 320.01 284.12 290.71 175.84 296.47 262.24 188.48 551.48 585.56 545.04 505.86 488.25 641.35 540.49 619.96 572.85 590.88 511.8 578.95 557.91 646.4 636.27 534.61 500.25 624.13 481.51 596.76 568.36 608.57 528.71 630.99 493.63 523.15 517.62 602.95 614.82 563.58
*+ WARNING: !! '-stim_times_AM2 2' file 'stimuli/ATN_003v1_ON_events_test.txt' has no good stimulus time values
++ Number of time points: 12 (no censoring)
+ Number of parameters: 14 [8 baseline ; 6 signal]
** ERROR: Regression model has too many parameters for dataset length :(
** FATAL ERROR: 3dDeconvolve dies: Insufficient data (12) for estimating 14 parameters
If anyone has an idea of why this could be occurring, please let me know, thanks!
It is very suspicious that the input has only 12 time points. Maybe it is not what you were planning to provide. The issues stem from that.
The actual error is due to trying to model 14 parameters (6 motion? + 2 polort + 6 stim) with only those 12 time points.
The stimulus timing warnings then stem from having an input time series that only seems to span 11 seconds, but yet having stimulus events going out 10 or 11 minutes.
So everything comes back to having only 12 input time points.
Hi Rick, thank you for the reply! Apologies, I am relatively new to fMRI analysis. When you say the error stems from only having 12 input time points, is this referring to the times listed in the events txt file I put on the regress_stim_times line of my afni_proc.py script?
It should come from what was passed to afni_proc.py via the -dsets option. Pass a list of EPI datasets, one per run.
Feel free to show part or all of your afni_proc.py command.
Indeed, this dataset has only 14 time points, I would expect something in the hundreds. Most likely, there is a different dataset that is a full EPI run that should be passed, instead. You should look through the datasets closely, to be sure of what each one is. Running 3dinfo on them should help.
Hi Rick,
Thank you for getting back to me on this! That is very odd... I will take a look at the datasets.
-Annie
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.