def identity_lut():
    '\n    Create identity lookup tablef\n    :return:\n    '
    lut = np.zeros((512,), dtype=bool)
    inds = np.arange(512)
    lut[((inds & NEIGH_MASK_CENTRE) != 0)] = True
    return lut
Create identity lookup tablef
:return:
def identity_lut():
    '\n    Create identity lookup tablef\n    :return:\n    '
    lut = np.zeros((512,), dtype=bool)
    inds = np.arange(512)
    lut[((inds & NEIGH_MASK_CENTRE) != 0)] = True
    return lut