mufasa.location#
Dataclasses for spatially discrete detections, i.e. at a single point.
Classes#
Spatially discrete detection, represented by a |
|
Probabilistic spatially discrete detection, adding a |
Module Contents#
- class mufasa.location.Location#
Spatially discrete detection, represented by a
geometry, that occurred at sometimestamp.- geometry: shapely.geometry.base.BaseGeometry#
- timestamp: float = 0.0#
- properties: dict#
- property effective_geometry: shapely.geometry.base.BaseGeometry | None#
Geometry expanded by radius/width properties, or raw geometry if not applicable.
Use this instead of
geometrywhenever spatial footprint matters — e.g. rasterization, intersection checks — so that sensor uncertainty expressed through Observation properties is automatically respected.- Return type:
shapely.geometry.base.BaseGeometry | None
- class mufasa.location.Observation#
Bases:
LocationProbabilistic spatially discrete detection, adding a
confidenceestimate.- confidence: float = 0.5#