MaxScoreOverTranslations#
- class MaxScoreOverTranslations(shape, n_rotations, aggregate_axis=None, shm_handler=None, offset=None, **kwargs)[source]#
Bases:
MaxScoreOverRotations
Determine the translation maximizing the score over all possible rotations.
- Parameters:
- shapetuple of int
Shape of array passed to
MaxScoreOverTranslations.__call__()
.- n_rotationsint
Number of rotations to aggregate over.
- aggregate_axistuple of int, optional
Array axis to aggregate over, None by default.
- shm_handler
multiprocessing.managers.SharedMemoryManager
, optional Shared memory manager, defaults to memory not being shared.
- **kwargs: dict, optional
Keyword arguments passed to the constructor of the parent class.
Attributes
Indicate whether the analyzer can be shared across processes.
Methods
MaxScoreOverTranslations.__call__
(state, ...)Update the parameter store.
Initialize the analysis state.
MaxScoreOverTranslations.merge
(states, **kwargs)Merge multiple instances of the current class.
MaxScoreOverTranslations.result
(state[, ...])Finalize the analysis result with optional postprocessing.