def __get_max_abs_value(array):
    """
    Retrieve the maximum absolute value of an array

    :returns: the maximum absolute value of the input array
    :rtype: real

    :param array: numpy array
    :type array: np.array
    """
    mini = min(array)
    result = max(array)
    if abs(mini) > result:
        result = mini

    return result