Compute MGH primary slice direction

mghheader.primary.slice.direction(header)

Arguments

header

Header of the mgh datastructure, as returned by read.fs.mgh.

Value

character string, the slice direction. One of 'sagittal', 'coronal', 'axial' or 'unknown'.