def shaveEntityDense ( self, ch, entityid, corner, resolution, annodata ):
    """Process all the annotations in the dense volume"""

    # Make shaving a per entity operation
    vec_func = np.vectorize ( lambda x: 0 if x != 0 else entityid ) 
    annodata = vec_func ( annodata )

    self.shaveDense ( ch, entityid, corner, resolution, annodata )
dataset/ETHPy150Open neurodata/ndstore/ocpca/ocpcadb.py/OCPCADB.shaveEntityDense/operator `==` -> `!=`