.. meta:: :description: Code snippets modify channel Numpy array How to modify a Channel values ============================== In this example we access the Channel numpy array to modify it. Given a Channel named channel:: array = channel.getNDArray() #modify it data array[::2,::2,::2] = 1 #tell the channel that it data was modified (this can trigger event) channel.setDataDirty()