#NEWLINE# def updatePixels( self , tlc , shape , props , **pixelBlocks ) : #NEWLINE# #INDENT# outBlock = self . operator ( pixelBlocks [ 'rasters_pixels' ] , axis = 0 ) #NEWLINE# pixelBlocks [ 'output_pixels' ] = outBlock . astype ( props [ 'pixelType' ] , copy = False ) #NEWLINE# masks = np . array ( pixelBlocks [ 'rasters_mask' ] , copy = False ) #NEWLINE# pixelBlocks [ 'output_mask' ] = np . all ( masks , axis = 0 ) . astype ( 'u1' , copy = False ) #NEWLINE# return pixelBlocks