"pixdim"
and "pixunits"
attributes
of their arguments. These represent the physical step size between pixel or
voxel centre points, and the spatial and temporal units that they are given
in. The former defaults to 1 in each dimension, if there is no attribute.pixdim(object)pixdim(object) <- value
pixunits(object)
value
will be recycled if necessary.pixdim
returns a numeric vector of pixel dimensions.
pixunits
returns a character vector of length up to two, giving the
spatial and temporal unit names.