dosma.core.orientation.orientation_standard_to_nib

dosma.core.orientation.orientation_standard_to_nib(orientation)[source]

Convert standard dosma orientation format to Nibabel orientation.

Parameters

orientation – Image orientation in the standard orientation format.

Returns

RAS+ tuple orientation used by Nibabel.

Return type

tuple[str]

Examples

>>> orientation_nib_to_standard(("LR", "PA", "IS"))
("R", "A", "S")