stilt.observations.jitter_points#

stilt.observations.jitter_points(polygon, n, *, method='regular', seed=None)[source]#

(longitude, latitude) points spread over one pixel.

X-STILT’s jitterTF: instead of one receptor at a large pixel’s centre, run several across it and average their footprints. polygon is the pixel outline, as a shapely polygon or its corner coordinates. "regular" lays the points on a grid clipped to the polygon; "random" draws them uniformly with seed.

Return type:

list[tuple[float, float]]

Parameters: