powered by
A named integer vector of registered NIfTI extension codes. These codes identify the format/type of extension data.
NiftiExtensionCodes
Named integer vector where names describe the extension type:
0 - Unknown/private format (not recommended)
2 - DICOM format (attribute tags and values)
4 - AFNI group (ASCII XML attributes)
6 - Plain text comment
8 - XCEDE format
10 - JIM dimension info
12 - Workflow forwards
14 - FreeSurfer format
16 - Python pickle
18 - MiND identifier
20 - B-value (diffusion)
22 - Spherical direction
24 - DT component
26 - SHC degree order
28 - VoxBo format
30 - Caret format
32 - CIFTI format
34 - Variable frame timing
38 - Eval
40 - MATLAB format
42 - Quantiphyse
44 - MRS NIfTI
# Get the code for AFNI extensions NiftiExtensionCodes["AFNI"] # Returns 4 # Get the name for a code names(NiftiExtensionCodes)[NiftiExtensionCodes == 4] # Returns "AFNI"
Run the code above in your browser using DataLab