MaxScoreOverRotationsConstrained.result#
- MaxScoreOverRotationsConstrained.result(state, targetshape=None, templateshape=None, convolution_shape=None, fourier_shift=None, convolution_mode=None, **kwargs)#
Finalize the analysis result with optional postprocessing.
- Parameters:
- statetuple
Current state tuple (scores, rotations, rotation_mapping) where: - scores : BackendArray, current maximum scores. - rotations : BackendArray, current rotation indices. - rotation_mapping : dict, mapping from rotation indices to matrices.
- targetshapeTuple[int], optional
Shape of the target for convolution mode correction.
- templateshapeTuple[int], optional
Shape of the template for convolution mode correction.
- convolution_shapeTuple[int], optional
Shape used for convolution.
- fourier_shiftTuple[int], optional.
Shift to apply for Fourier correction.
- convolution_modestr, optional
Convolution mode for padding correction.
- **kwargs
Additional keyword arguments.
- Returns:
- tuple
Final result tuple (scores, offset, rotations, rotation_mapping).