Retrieve one header extension from a NIFTI v2 header, by its extension code. See nifti2.extension for details on header extensions.
nifti2.get.extension(niiheader, ecode)the extension (a named list with entries 'ecode' and 'content', see nifti2.extension), or NULL if the header contains no extension with this code.
named list, a NIFTI v2 header as returned by read.nifti2.header or created by ni2header.template.
integer, the extension code to search for. The CIFTI2 XML metadata uses code 32L.
nifti2.extension.text
Other nifti2 extensions:
nifti2.extension(),
nifti2.extension.content(),
nifti2.extension.size(),
nifti2.extension.text()