updated to deal with 1D data (dimord = 'pos', single time point, single freq point)