Skip to content

Commit

Permalink
timeseries features
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson committed Nov 7, 2024
1 parent 5b08679 commit 6ad2593
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file not shown.
4 changes: 4 additions & 0 deletions simba/mixins/geometry_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3669,6 +3669,10 @@ def geometries_to_exterior_keypoints(geometries: List[Polygon], core_cnt: Option
"""
Extract exterior keypoints from a list of Polygon geometries in parallel, with optional core count specification for multiprocessing.
.. image:: _static/img/geometries_to_exterior_keypoints.webp
:width: 400
:align: center
:param List[Polygon] geometries: A list of Shapely `Polygon` objects representing geometries whose exterior keypoints will be extracted.
:param Optional[int] core_cnt: The number of CPU cores to use for multiprocessing. If -1, it uses the maximum number of available cores.
:return: A numpy array of exterior keypoints extracted from the input geometries.
Expand Down

0 comments on commit 6ad2593

Please sign in to comment.