def _find_strongest_correlation(self, correlations):
    abs_correlations = np.abs(correlations)
    for i in range(len(correlations)):
        abs_correlations[(i, i)] = (- 1)
    m_max = np.argmax(abs_correlations.flatten())
    i = int((m_max // len(correlations)))
    j = int((m_max - (i * len(correlations))))
    return (i, j)
def _find_strongest_correlation(self, correlations):
    abs_correlations = np.abs(correlations)
    for i in range(len(correlations)):
        abs_correlations[(i, i)] = (- 1)
    m_max = np.argmax(abs_correlations.flatten())
    i = int((m_max // len(correlations)))
    j = int((m_max - (i * len(correlations))))
    return (i, j)