Codes that appear in the ANALYZE header are mapped to meaningful character strings.
convert.bitpix.anlz(bitpix = NULL)
convert.datatype.anlz(datatype.code = NULL)
convert.orient.anlz(orientation)
bitpix | is the bit-per-pixel code. |
---|---|
datatype.code | defines data type. |
orientation | defines the orientation. |
A character string.
switch
statements are used to map a numeric code to the
appropriate string.
ANALYZE 7.5
http://eeg.sourceforge.net/ANALYZE75.pdf
Brandon Whitcher bwhitcher@gmail.com
## 4 = SIGNED_SHORT
convert.datatype.anlz(4)
#> [1] "SIGNED_SHORT"
## 16 = FLOAT
convert.datatype.anlz(16)
#> [1] "FLOAT"
## 2 = "saggital unflipped"
convert.orient.anlz(2)
#> [1] "sagittal unflipped"
## 4 = "coronal flipped"
convert.orient.anlz(4)
#> [1] "coronal flipped"