Skip to content

Conversation

@rouault
Copy link
Member

@rouault rouault commented Dec 4, 2025

This generates and reads STATISTICS_COVARIANCES band metadata items as done by ArcGIS:

https://pro.arcgis.com/en/pro-app/3.4/tool-reference/spatial-analyst/how-band-collection-statistics-works.htm

which is consistant with the results of numpy.cov(): https://numpy.org/devdocs//reference/generated/numpy.cov.html

@rouault rouault added this to the 3.13.0 milestone Dec 4, 2025
@rouault rouault force-pushed the covariance_matrix branch 6 times, most recently from d46420a to caeb34a Compare December 4, 2025 23:21
…onding C and Python API

This generates and reads STATISTICS_COVARIANCES band metadata items
as done by ArcGIS:
https://pro.arcgis.com/en/pro-app/3.4/tool-reference/spatial-analyst/how-band-collection-statistics-works.htm

which is consistant with the results of numpy.cov()
@rouault rouault force-pushed the covariance_matrix branch 21 times, most recently from c379bff to a0ef811 Compare December 7, 2025 02:08
@rouault rouault force-pushed the covariance_matrix branch 4 times, most recently from 41707f5 to bcba9f0 Compare December 7, 2025 22:49
@rouault rouault force-pushed the covariance_matrix branch 2 times, most recently from 92d0533 to 92d6370 Compare December 8, 2025 00:15
@coveralls
Copy link
Collaborator

coveralls commented Dec 8, 2025

Coverage Status

coverage: 71.407% (+0.006%) from 71.401%
when pulling c55f5e7 on rouault:covariance_matrix
into 379bec3 on OSGeo:master.

@rouault rouault force-pushed the covariance_matrix branch 8 times, most recently from a18dee3 to 10ea318 Compare December 8, 2025 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants