| createNIfTIHeader | R Documentation |
Initializes a list of fields following the NIfTI-1 specification with default
or placeholder values. Users typically call this internally via
as_nifti_header rather than using directly.
createNIfTIHeader(oneFile = TRUE, file_name = NULL)
oneFile |
Logical; if |
file_name |
Optional character string to store in the header, usually referencing the intended output file name. |
This function sets up the skeleton of a NIfTI-1 header, including fields for
diminfo, pixdim, qform_code, magic, etc. Most fields
are initialized to zero, empty characters, or standard placeholders. The
oneFile argument controls whether "n+1" or "ni1" is used
for the magic field.
A named list containing approximately 30 fields that comprise
the NIfTI-1 header structure. Many of these are placeholders until filled by
downstream usage.
as_nifti_header for populating the returned header with actual
data from a NeuroVol.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.