AFNI version info (afni -ver
):
AFNI_23.0.02
Hello,
I am using 3dTcorrelate to correlate two -iresp datasets from different sessions, where one has been warped to the other, so they are in the same space.
Using 3dinfo confirms that both datasets have the same dimensions:
Geometry String: "MATRIX(2,0,0,-106,0,-2,0,68.54363,0,0,2,-91.07583):106,106,60"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Right-to-Left
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient RPI]
R-to-L extent: -106.000 [R] -to- 104.000 [L] -step- 2.000 mm [106 voxels]
A-to-P extent: -141.456 [A] -to- 68.544 [P] -step- 2.000 mm [106 voxels]
I-to-S extent: -91.076 [I] -to- 26.924 [S] -step- 2.000 mm [ 60 voxels]
Number of time steps = 21 Time step = 1.00000s Origin = 0.00000s
However, the resulting Tcorr image has different dimensions and looks offset when opening it in the viewer:
Geometry String: "MATRIX(2,0,0,-106,0,-2,0,68.98258,0,0,2,-90.05051):106,106,60"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Right-to-Left
second (y) = Posterior-to-Anterior
third (z) = Inferior-to-Superior [-orient RPI]
R-to-L extent: -106.000 [R] -to- 104.000 [L] -step- 2.000 mm [106 voxels]
A-to-P extent: -141.017 [A] -to- 68.983 [P] -step- 2.000 mm [106 voxels]
I-to-S extent: -90.051 [I] -to- 27.949 [S] -step- 2.000 mm [ 60 voxels]
This is my 3dTcorrelate command:
3dTcorrelate -pearson /Users/letitia/Documents/$subjses1.session1/iresp_zpad_session1.nii.gz
/Users/letitia/Documents/$subjses2.session2/iresp_zpad_session2_warped.nii.gz
-prefix $statsdir1/Iresp_correl_ses1and2_pearson.nii.gz