odc.geo.geom.BoundingBox.qr2sample

BoundingBox.qr2sample(n, padding=None, with_edges=False, offset=0)[source]

Generate quasi-random sample of points within this boundingbox.

Parameters:
  • n (int) – Number of points

  • padding (Optional[float]) – Minimal distance to the edge

  • offset (int) – Offset into quasi-random sequence from where to start

  • edges – Also include samples along the edge and corners

Return type:

Geometry

References: http://extremelearning.com.au/unreasonable-effectiveness-of-quasirandom-sequences/