def apply_inds(data, inds):
    """Apply inds computed from speckle_inds

    This is just a shortcut to a 1 line piece 
    of code:

    data.ravel()[indices] = filtered bla

    """
    data_flat = data.ravel()
    return data_flat[inds]
