def calc_R25(R, temp):
    """
    Adjust measured BPB absorption ratio for temperature.

    Eq 16 of Nand & Ellwood (2018, doi:10.1002/lom3.10253)

    Form:
    R25 = R * (1 + A * (25 - temp))

    A = 6.774e-3 +/- 0.9e-5

    Parameters
    ----------
    R : array_like
        Measured Base/Acid absorption ratio.
    temp : array_like
        Temperature of measurement (C)

    Returns
    -------
    array_like : Temperature corrected absorption
    """
    A = 0.006774
    return R * (1 + A * (25 - temp))
