def bonferroni(false_positive_rate, original_p_values):
    """ Bonferrnoi correction.

    :param false_positive_rate: alpha value before correction
    :type  false_positive_rate: float
    :param original_p_values: p values from all the tests
    :type  original_p_values: list[float]

    :return: new critical value (i.e. the corrected alpha)
    :rtype: float
    """
    assert original_p_values, 'empty array of p values to analyse'
    return false_positive_rate / len(original_p_values)
