I am trying to get values from a region. I know that there is a method to call the values by introducing the coordinates:
var([(x1, x2, x3) #xvalues
(y1, y2, y3)]) #yvalues
But, for instance, it is confusing to how many points and which coordinates they have if I previously set the values by using the 'where' attr in var.setValue (which accepts regions).
var.setValue(20., where=(Y <= y1) & ((X <= x1) & (X > x2)))
Is there any method to get the values by "querying" a region as in the var.setValue(where='...')?
Thank you.