(self)
| 104 | return order |
| 105 | |
| 106 | def _create_template(self) -> np.ndarray: |
| 107 | spatial_dimensions = self.dimensions[1:] |
| 108 | template = np.arange(np.prod(spatial_dimensions)).reshape(*spatial_dimensions) |
| 109 | |
| 110 | return template |
| 111 | |
| 112 | def _transform_template(self) -> np.ndarray: |
| 113 | for transformation in self.transformation_order: |