ornt2axcodes: Convert an orientation array to axis codes.

View source: R/trackvis_affine.R

ornt2axcodesR Documentation

Convert an orientation array to axis codes.

Description

Convert an orientation array to axis codes.

Usage

ornt2axcodes(ornt)

Arguments

ornt

numeric matrix with 2 columns, see io.orientation.

Value

character vector with one code per input axis, drawn from c('L','R','P','A','I','S'). Dropped axes become NA.


freesurferformats documentation built on Sept. 25, 2026, 1:07 a.m.