convert_anlz: Convert ANALYZE Codes

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Codes that appear in the ANALYZE header are mapped to meaningful chartacter strings.

Usage

1
2
3
4
5

Arguments

bitpix

is the bit-per-pixel code.

datatype.code

defines data type.

orientation

defines the orientation.

Details

switch statements are used to map a numeric code to the appropriate string.

Value

A character string.

Author(s)

Brandon Whitcher [email protected]

References

ANALYZE 7.5
https://rportal.mayo.edu/bir/ANALYZE75.pdf

See Also

convert.datatype, convert.bitpix, convert.intent, convert.form, convert.units, convert.slice

Examples

1
2
3
4
5
6
7
8
##  4 = SIGNED_SHORT
convert.datatype.anlz(4)
## 16 = FLOAT
convert.datatype.anlz(16)
##  2 = "saggital unflipped"
convert.orient.anlz(2)
##  4 = "coronal flipped"
convert.orient.anlz(4)

oro.nifti documentation built on Nov. 17, 2017, 4:04 a.m.