stilt.config.FootprintConfig#
- class stilt.config.FootprintConfig(*, grid: stilt.config.spatial.Grid | None = None, geometry: Optional[Annotated[stilt.config.geometry.FileGeometrySpec | stilt.config.geometry.H3GeometrySpec | stilt.config.geometry.WindowsGeometrySpec, FieldInfo(annotation=NoneType, required=True, discriminator='kind')]] = None, cells_per_target: Annotated[float, Gt(gt=0)] = 4.0, geometry_hash: str | None = None, smooth_factor: float = 1.0, time_integrate: bool = False, transforms: list[Any] = <factory>) None[source]#
Footprint settings: the grid, smoothing, and particle transforms.
The config and each variant hold these as their defaults and overrides, and every footprint keeps the settings it was calculated with.
gridis the raster the footprint is computed on. Leave bothgridandgeometryunset for a variant that only produces trajectories. Givegeometryto name the polygons the footprint will be aggregated to, and the grid is derived from them withstilt.Grid.from_geometry(). When both are given,gridis used as is andgeometryis kept with the footprint.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
Domain and resolution of the footprint. Leaving it unset with no |
|
|
Polygons the footprint will be aggregated to ( |
|
|
Grid cells across the smallest |
|
|
Hash of the built |
|
|
Factor on the width of the Gaussian smoothing kernel. 0 turns smoothing off. |
|
|
Sum the footprint over time into a single layer instead of hourly layers. |
|
|
Particle transforms applied in order before the footprint is computed. Each entry’s |
|