import numpy array1 = arcpy.RasterToNumPyArray("per_under30.tif") array2 = arcpy.RasterToNumPyArray("per_renter.tif") print numpy.corrcoef(array1.ravel(), array2.ravel())
[[ 1. 0.28250181] [ 0.28250181 1. ]]
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.