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  

|
June 12, 2018 05:07PM
Hello,

I'm trying to run 3dTcorrelate with two datasets that have the same number of time points (215) according to 3dinfo -nt, but then 3dTcorrelate indicates that they don't have the same length. Here are the commands

>>> 3dTcorrelate -overwrite -pearson -Fisher -prefix TCORRmap.nii.gz P3SBJ01_Events01_MEICA_RHO0_BIC_SPMG1.dr2HRF_E02.nii.gz P3SBJ01_Events01_DN.FBrain.spm.fitts.IM.nii.gz
P3SBJ01_Events01_MEICA_RHO0_BIC_SPMG1.dr2HRF_E02.nii.gz is different length than P3SBJ01_Events01_DN.FBrain.spm.fitts.IM.nii.gz

>>> 3dinfo -nt P3SBJ01_Events01_MEICA_RHO0_BIC_SPMG1.dr2HRF_E02.nii.gz
215
>>> 3dinfo -nt P3SBJ01_Events01_DN.FBrain.spm.fitts.IM.nii.gz
215

After this error, I tried to investigate possible reasons and noticed that the first dataset (P3SBJ01_Events01_MEICA_RHO0_BIC_SPMG1.dr2HRF_E02.nii.gz) is '-abuc', whereas the second dataset (P3SBJ01_Events01_DN.FBrain.spm.fitts.IM.nii.gz) is '-epan'. Could this be the reason why 3dTcorrelate is not working?

If this were the case, I also tried to change the data type of the first dataset from -abuc to -epan with 3drefit -epan P3SBJ01_Events01_MEICA_RHO0_BIC_SPMG1.dr2HRF_E02.nii.gz). However, although the command runs, it seems that no change is actually done because the dataset continues to be -abuc according to 3dinfo.

Any suggestions would be really appreciated.

Thanks,
Cesar
Subject Author Posted

3dTcorrelate not computed with datasets with equal length

Cesar Caballero Gaudes June 12, 2018 05:07PM

Re: 3dTcorrelate not computed with datasets with equal length

Cesar Caballero Gaudes June 13, 2018 04:26AM

Re: 3dTcorrelate not computed with datasets with equal length

rick reynolds June 13, 2018 09:02AM