surfa.transform.orientation.slice_direction#

surfa.transform.orientation.slice_direction(orientation)#

Determines primary slice direction string from orientation.

Parameters

orientation (str) – Case-insensitive orientation string.

Returns

Primary slice direction.

Return type

str