MaxScoreOverTranslations.__call__#

MaxScoreOverTranslations.__call__(state, scores, rotation_matrix, **kwargs)[source]#

Update the parameter store.

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 bytes to indices. - ssum : BackendArray, accumulator for sum of squared scores.

scoresBackendArray

Array of new scores to update analyzer with.

rotation_matrixBackendArray

Square matrix used to obtain the current rotation.

Returns
——-
tuple

Updated state tuple (scores, rotations, rotation_mapping).