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.
longitudesandlatitudesare 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 leastthresholdtimes its maximum; the defaults are X-STILT’s (td = 0.1,h = c(0.1, 0.15),n = 100). A largerthresholdgives a tighter plume; a largerbandwidtha smoother one.- Return type:
Plume- Parameters:
longitudes (_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])
latitudes (_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])
threshold (float)
n (int)