Closed hafez-ahmad closed 1 year ago
Yes. Once you have created an instance ofQStatistic
with your data
import pointpats.quadrat_statistics as qs
from pointpats import PointPattern
pp = PointPattern(data)
q_r = qs.QStatistic(pp,shape= "rectangle",nx = 3, ny = 3)
you can use the following code to calculate the area of each grid cell:
q_r.mr.rectangle_width * q_r.mr.rectangle_height
Thank you for developing this excellent package. I have a question regarding the generation of a 3x3 grid based on decimal degree latitude and longitude. Is there a method available to calculate the area of each grid cell?
q_r = qs.QStatistic(pp_juv,shape= "rectangle",nx = 3, ny = 3)
Thanks