ceholden / misc

Miscellaneous codes
8 stars 6 forks source link

crosstab.py #1

Open ceholden opened 9 years ago

ceholden commented 9 years ago

Output additional information in crosstab -- column and row totals, area in pixel, and class area weights:

C1 C2 Tot Pix Wi
C1 5 2 7 100 .50
C2 1 10 11 100 .50
Tot 6 12 18 200 1.0
ceholden commented 9 years ago

Option to output map and reference information as column (two columns, map and reference with n_samples row)