check_cifti_type: Check CIFTI type
Description
Check that a CIFTI's NIFTI intent matches its file name extension.
Usage
check_cifti_type(intent, extn)
Arguments
intent
The NIFTI intent_code
, as a numeric integer
extn
The file name extension, e.g. "dtseries.nii"
Value
If the intent is supported, returns TRUE
.
If the intent is not supported, an error is raised.