PeakCallerScipy.result#

PeakCallerScipy.result(state, fast_shape=None, 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 where: - positions : BackendArray, (n, d) of peak positions - rotations : BackendArray, (n, d, d) of correponding rotations - scores : BackendArray, (n, ) of peak scores - details : BackendArray, (n, ) of peak details

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 (positions, rotations, scores, details).