surfa.transform.orientation.check_orientation#

surfa.transform.orientation.check_orientation(orientation)#

Checks an orientation string to ensure it is valid, meaning that all axes are represented exactly once and no invalid characters are present.

Parameters

orientation (str) – Case-insensitive orientation string.