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. ]]
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.