def rt_match(rt1, rt2, parameters):
    """Assess peak match based on rt values and rt error"""

    corrected_rt1 = (rt1 - parameters.standards_intercept) / parameters.standards_slope

    if corrected_rt1 - parameters.rt_error <= rt2 <= corrected_rt1 + parameters.rt_error:
        return True
    else:
        return False