Mmmm... I'm reading some analyze files from Windoze to Unix and I want to do -redo_bstat after I do -byteorder LSB_FIRST, but the stats aren't being calculated:
% 3dcopy foo.hdr foo
++ 3dcopy: AFNI version=AFNI_2008_07_18_1710 (May 28 2009) [64-bit]
*+ WARNING: Assuming ANALYZE orientaion is LPI.
++ To change orientation or silence this message,
++ Set AFNI_ANALYZE_ORIENT to the proper orientation
++ in your .afnirc file.
++ e.g.: AFNI_ANALYZE_ORIENT = LPI
*+ WARNING: Assuming view is +orig.
++ To change view or silence this message,
++ Set AFNI_ANALYZE_VIEW to the proper view
++ in your .afnirc file.
++ e.g.: AFNI_ANALYZE_VIEW = orig
*+ WARNING: No ANALYZE origin found in file foo.hdr
** ERROR: File foo.img: found 5759 float errors -- see program float_scan
% 3drefit -byteorder LSB_FIRST -orient RSP -xorigin cen -yorigin cen -zorigin cen foo+orig
++ 3drefit: AFNI version=AFNI_2008_07_18_1710 (May 28 2009) [64-bit]
++ Authored by: RW Cox
++ Processing AFNI dataset foo+orig
*+ WARNING: Over-writing dataset ./foo+orig.HEAD
++ 3drefit processed 1 datasets
% 3dinfo foo+orig
++ 3dinfo: AFNI version=AFNI_2008_07_18_1710 (May 28 2009) [64-bit]
Dataset File: foo+orig
Identifier Code: XYZ_dTBLmUDvU3r3JDqmYCsDOA Creation Date: Tue Aug 4 08:46:14 2009
Dataset Type: MRI Anatomy (-anat)
Byte Order: LSB_FIRST [this CPU native = MSB_FIRST]
Storage Mode: BRIK file
Storage Space: 10420224 (10 million) bytes
Geometry String: "MATRIX(0.776383,0,0,-49.30032,0,0,-0.796,62.884,0,-0.776383,0,49.30032):128,128,159"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Right-to-Left
second (y) = Superior-to-Inferior
third (z) = Posterior-to-Anterior [-orient RSP]
R-to-L extent: -49.300 [R] -to- 49.300 [L] -step- 0.776 mm [128 voxels]
A-to-P extent: -62.884 [A] -to- 62.884 [P] -step- 0.796 mm [159 voxels]
I-to-S extent: -49.300
-to- 49.300 [S] -step- 0.776 mm [128 voxels]
Number of values stored at each pixel = 1
-- At sub-brick #0 '#0' datum type is float: -3.40133e+38 to 3.40003e+38
----- HISTORY -----
[hradivp@mr7: Tue Aug 4 08:46:14 2009] 3dcopy foo.hdr foo
[hradivp@mr7: Tue Aug 4 08:46:40 2009] 3drefit -byteorder LSB_FIRST -orient RSP -xorigin cen -yorigin cen -zorigin cen foo+orig
% 3drefit -redo_bstat foo+orig
++ 3drefit: AFNI version=AFNI_2008_07_18_1710 (May 28 2009) [64-bit]
++ Authored by: RW Cox
++ Processing AFNI dataset foo+orig
*+ WARNING: Over-writing dataset ./foo+orig.HEAD
++ 3drefit processed 1 datasets
% 3dinfo foo+orig
++ 3dinfo: AFNI version=AFNI_2008_07_18_1710 (May 28 2009) [64-bit]
Dataset File: foo+orig
Identifier Code: XYZ_dTBLmUDvU3r3JDqmYCsDOA Creation Date: Tue Aug 4 08:46:14 2009
Dataset Type: MRI Anatomy (-anat)
Byte Order: LSB_FIRST [this CPU native = MSB_FIRST]
Storage Mode: BRIK file
Storage Space: 10420224 (10 million) bytes
Geometry String: "MATRIX(0.776383,0,0,-49.30032,0,0,-0.796,62.884,0,-0.776383,0,49.30032):128,128,159"
Data Axes Tilt: Plumb
Data Axes Orientation:
first (x) = Right-to-Left
second (y) = Superior-to-Inferior
third (z) = Posterior-to-Anterior [-orient RSP]
R-to-L extent: -49.300 [R] -to- 49.300 [L] -step- 0.776 mm [128 voxels]
A-to-P extent: -62.884 [A] -to- 62.884 [P] -step- 0.796 mm [159 voxels]
I-to-S extent: -49.300 -to- 49.300 [S] -step- 0.776 mm [128 voxels]
Number of values stored at each pixel = 1
-- At sub-brick #0 '#0' datum type is float
----- HISTORY -----
[hradivp@mr7: Tue Aug 4 08:46:14 2009] 3dcopy foo.hdr foo
[hradivp@mr7: Tue Aug 4 08:46:40 2009] 3drefit -byteorder LSB_FIRST -orient RSP -xorigin cen -yorigin cen -zorigin cen foo+orig
[hradivp@mr7: Tue Aug 4 08:48:07 2009] 3drefit -redo_bstat foo+orig