stilt.config.WindowsGeometrySpec#

class stilt.config.WindowsGeometrySpec(*, kind: Literal['windows'] = 'windows', coords: list[tuple[float, float]], size: float | tuple[float, float], ids: list[str] | None = None, crs: str = '+proj=longlat') → None[source]#

Rectangular windows centred on points, e.g. named point sources.

Parameters#

Parameter

Description

Default

kind

'windows'

coords

Window centres as (x, y) pairs.

Required

size

Window width, or (width, height), in CRS units.

Required

ids

Optional label per point.

None

crs

CRS of the coordinates.

'+proj=longlat'

Methods#

build()

Build the windows as a stilt.Mesh.