def METHOD_NAME(self, table, altitude, grossweight):
    weights, data = table
    idx0, w0, idx1, w1 = self._get_weights(weights, grossweight)
    return self._interpolate_alt(data[idx0], altitude) * w0 + self._interpolate_alt(data[idx1], altitude) * w1