def updatePixels(self, tlc, shape, props, **pixelBlocks):
        elev = np.array(pixelBlocks['elevation_pixels'], dtype='f4', copy=False)
        slope = np.array(pixelBlocks['slope_pixels'], dtype='f4', copy=False)
        aspect = np.array(pixelBlocks['aspect_pixels'], dtype='f4', copy=False)
        # soil = np.array(pixelBlocks['soiltype_pixels'], 'i8')

        E = (elev > 30).astype('u1', copy=False) & (elev < 400).astype('u1', copy=False)
        S = (slope > 5).astype('u1', copy=False) & (60 < slope).astype('u1', copy=False)
        A = (aspect > 0).astype('u1', copy=False) & (aspect < 200).astype('u1', copy=False)
        pixelBlocks['output_pixels'] = (E + S + A).astype(props['pixelType'], copy=False)
        return pixelBlocks
dataset/ETHPy150Open Esri/raster-functions/functions/VineyardAnalysis.py/VineyardAnalysis.updatePixels/swapped operands of `<`