stilt.observations.plume_polygon#

stilt.observations.plume_polygon(longitudes, latitudes, *, threshold=0.1, bandwidth=(0.1, 0.15), n=100)[source]#

Outline the plume from forward-run particle positions at overpass time.

longitudes and latitudes are the positions of every particle row that falls in the overpass window, pooled over all the forward runs for that overpass. The plume is the region where the kernel density of those positions (kernel_density()) is at least threshold times its maximum; the defaults are X-STILT’s (td = 0.1, h = c(0.1, 0.15), n = 100). A larger threshold gives a tighter plume; a larger bandwidth a smoother one.

Return type:

Plume

Parameters: