devel > Valid GIFTI Data Array Dimensions
Apr 20, 2011  02:04 PM | John Harwell
Valid GIFTI Data Array Dimensions
In the GIFTI Document (2.3.4.4) it states "The last dimension shall never be one (The only exception is if the array contains one data value in which case Dim0 will be one)".  Thus, a DataArray with "Dimensionality=2, Dim0=73730, Dim1=1" is invalid and should be "Dimensionality=1, Dim0=73730".

Does this also apply to the first dimension?  Is a DataArray with "Dimensionality=2, Dim0=1, Dim1=73730" valid?  Or should it be a one-dimensional array with "Dimensionality=1  Dim0=73730"?

I would like to change the GIFTI Document to state that "Neither the first, nor the last dimension shall be one (The only exception is if the array contains one data value in which case Dim0 will be one)".

Threaded View

TitleAuthorDate
Valid GIFTI Data Array Dimensions
John Harwell Apr 20, 2011
Simon Warfield Apr 20, 2011
John Harwell Apr 20, 2011