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  

|
Jana
January 13, 2011 10:09AM
Hello Rick,

Thank you very much again for your help.

(1) I guess you're right with the format of motion parameter output. The file reads as follows.

0 0.1978 0.2719 -0.5186 -0.5286 0.7214 0.3009 191.6 169.6
1 -0.5120 0.6810 -0.4259 -0.7477 0.0853 0.2378 206.1 182.3
2 -0.6188 0.8460 -0.3386 -0.8819 -0.1242 0.1928 210 177.3
3 -0.8224 -0.0941 -0.0910 0.0002 -0.6721 0.0781 167.9 148.6
4 -1.1417 0.2466 -0.1846 0.0209 -0.9311 0.1941 194.9 159.1
....

(2) Here is the output of the 1d_tool.py

1d_tool.py -infile Xmat.x1D -show_cormat_warnings

Warnings regarding Correlation Matrix: Xmat.x1D

severity correlation cosine regressor pair
-------- ----------- ------ ----------------------------------------
high: -1.000 0.000 ( 0 vs. 6) Run#1Pol#0 vs. Run#2Pol#0
medium: -0.418 0.021 (12 vs. 16) pleasant#0 vs. unpleasant#0


(3) If I run the script now, it is fine and gives the following comments (see below). But is it right that I now have 18 baseline parameters?

++ '-stim_times_AM2 1 onsettimes_pleasant_S1.txt' has 1 auxiliary values per time point
++ '-stim_times_AM2 1 onsettimes_pleasant_S1.txt' will have 2 regressors
++ '-stim_times_AM2 2 onsettimes_neutral_S1.txt' has 1 auxiliary values per time point
++ '-stim_times_AM2 2 onsettimes_neutral_S1.txt' will have 2 regressors
++ '-stim_times_AM2 3 onsettimes_unpleasant_S1.txt' has 1 auxiliary values per time point
++ '-stim_times_AM2 3 onsettimes_unpleasant_S1.txt' will have 2 regressors
++ 3dDeconvolve: AFNI version=AFNI_2010_10_19_1028 (Jan 3 2011) [64-bit]
++ Authored by: B. Douglas Ward, et al.
++ current memory malloc-ated = 113,501 bytes (about 114 thousand)
++ loading dataset psc.ssm.tsm.cl.dsp.hpf.reg.ts.1+orig psc.ssm.tsm.cl.dsp.hpf.reg.ts.2+orig
++ current memory malloc-ated = 275,373,813 bytes (about 275 million)
++ Auto-catenated datasets start at: 0 210
++ Input polort=5; Longest run=630.0 s; Recommended minimum polort=5 ++ OK ++
++ -stim_times using TR=3 s for stimulus timing conversion
++ -stim_times using TR=3 s for any -iresp output datasets
++ [you can alter the -iresp TR via the -TR_times option]
++ -stim_times_AM2 1 using GLOBAL times
++ '-stim_times_AM2 1' average amplitude#1=-0.157895
++ -stim_times_AM2 2 using GLOBAL times
++ '-stim_times_AM2 2' average amplitude#1=-0.588235
++ -stim_times_AM2 3 using GLOBAL times
++ '-stim_times_AM2 3' average amplitude#1=-0.15
++ -stim_times 4 using GLOBAL times
------------------------------------------------------------
GLT matrix from 'SYM: +pleasant[0] -neutral[0]':
0 0 0 0 0 0 0 0 0 0 0 0 1 0 -1 0 0 0 0 0 0 0 0 0 0

------------------------------------------------------------
GLT matrix from 'SYM: +pleasant[0] -unpleasant[0]':
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 -1 0 0 0 0 0 0 0 0

------------------------------------------------------------
GLT matrix from 'SYM: +neutral[0] -unpleasant[0]':
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 -1 0 0 0 0 0 0 0 0

------------------------------------------------------------
GLT matrix from 'SYM: +pleasant[1] -neutral[1]':
0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 -1 0 0 0 0 0 0 0 0 0

------------------------------------------------------------
GLT matrix from 'SYM: +pleasant[1] -unpleasant[1]':
0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 -1 0 0 0 0 0 0 0

------------------------------------------------------------
GLT matrix from 'SYM: +neutral[1] -unpleasant[1]':
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 -1 0 0 0 0 0 0 0

++ Number of time points: 420 (no censoring)
+ Number of parameters: 25 [18 baseline ; 7 signal]
++ Memory required for output bricks = 306,708,480 bytes (about 307 million)
++ Wrote matrix values to file Xmat.x1D
++ ========= Things you can do with the matrix file =========
++ (a) Linear regression with ARMA(1,1) modeling of serial correlation:

3dREMLfit -matrix Xmat.x1D \
-input "psc.ssm.tsm.cl.dsp.hpf.reg.ts.1+orig psc.ssm.tsm.cl.dsp.hpf.reg.ts.2+orig" \
-fout -tout -rout -Rbuck decon_modulation_S1_REML -Rvar decon_modulation_S1_REMLvar \
-Rfitts fitts_modulation_S1_REML -verb

++ N.B.: 3dREMLfit command above written to file decon_modulation_S1.REML_cmd
++ (b) Visualization/analysis of the matrix via ExamineXmat.R
++ (c) Synthesis of sub-model datasets using 3dSynthesize
++ ==========================================================
++ ----- Signal+Baseline matrix condition [X] (420x25): 11.7555 ++ VERY GOOD ++
++ ----- Signal-only matrix condition [X] (420x7): 1.04909 ++ VERY GOOD ++
++ ----- Baseline-only matrix condition [X] (420x18): 10.406 ++ VERY GOOD ++
++ ----- stim_base-only matrix condition [X] (420x6): 6.80116 ++ VERY GOOD ++
++ ----- polort-only matrix condition [X] (420x12): 1.05251 ++ VERY GOOD ++
++ +++++ Matrix inverse average error = 7.91203e-16 ++ VERY GOOD ++
++ Matrix setup time = 2.39 s
++ current memory malloc-ated = 584,259,172 bytes (about 584 million)
++ Calculations starting; elapsed time=13.838
++ voxel loop:0123456789.0123456789.0123456789.0123456789.0123456789.
++ Calculations finished; elapsed time=80.130
++ Wrote bucket dataset into ./decon_modulation_S1+orig.BRIK
+ created 35 FDR curves in bucket header

Best,
Jana

Subject Author Posted

parametric modulation

Jana January 05, 2011 01:57PM

Re: parametric modulation

Gang Chen January 06, 2011 09:49AM

Re: parametric modulation

Jana January 07, 2011 11:16AM

Re: parametric modulation

Gang Chen January 07, 2011 03:32PM

Re: parametric modulation

Jana January 08, 2011 11:45AM

Re: parametric modulation

Jana January 12, 2011 11:49AM

Re: parametric modulation

Gang Chen January 12, 2011 02:07PM

Re: parametric modulation

Jana January 12, 2011 02:42PM

Re: parametric modulation

rick reynolds January 12, 2011 03:17PM

Re: parametric modulation

Jana January 12, 2011 11:18PM

Re: parametric modulation

James January 13, 2011 06:16AM

Re: parametric modulation

Jana January 13, 2011 07:04AM

Re: parametric modulation

James January 13, 2011 07:46AM

Re: parametric modulation

Jana January 13, 2011 08:19AM

Re: parametric modulation

rick reynolds January 13, 2011 08:28AM

Re: parametric modulation

Jana January 13, 2011 10:09AM

Re: parametric modulation

rick reynolds January 13, 2011 12:03PM

Re: parametric modulation

Jana January 13, 2011 12:22PM

Re: parametric modulation

Jana January 14, 2011 06:56AM

Re: parametric modulation

rick reynolds January 14, 2011 08:33AM

Re: parametric modulation

Jana January 14, 2011 09:57AM