def log_inverse(data, channel_indices, t, m):
    """
    Inverse of logarithmic transformation

    :param data: NumPy array of FCS event data
    :param channel_indices: channel indices to transform (other channels returned in place, untransformed)
    :param t: parameter for the top of the linear scale (e.g. 262144)
    :param m: parameter for desired number of decades

    :return: NumPy array of transformed events
    """
    data_copy = data.copy()
    data_copy[:, channel_indices] = t * (10 ** ((data_copy[:, channel_indices] - 1) * m))

    return data_copy