function out = ndims(fa)
% Number of dimensions
%__________________________________________________________________________

% Copyright (C) 2005-2022 Wellcome Centre for Human Neuroimaging


out = size(fa);
out = length(out);
