Orientations#

Constructor#

Orientations

Handle template matching orientations and conversion between formats.

Attributes and underlying data#

Orientations.translations

Array with translations of each orientation (n, d).

Orientations.rotations

Array with zyx euler angles of each orientation (n, d).

Orientations.scores

Array with scores of each orientation (n, ).

Orientations.details

Array with additional details of each orientation(n, ).

Serialization#

Orientations.to_file(filename[, file_format])

Save the current class instance to a file in the specified format.

Orientations.from_file(filename[, file_format])

Create an instance of Orientations from a file.

Subsetting#

Orientations.get_extraction_slices(...[, ...])

Calculate slices for extracting regions of interest within a larger array.