Skip to content

Commit

Permalink
chore: add changelog, bumb version
Browse files Browse the repository at this point in the history
  • Loading branch information
okunator committed Nov 1, 2023
1 parent 43ad60e commit 1ae71ad
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@

<a id='changelog-0.1.2'></a>
# 0.1.2 — 2023-11-01

## Deprecated

- the `Pipeline` class was removed.

## Features

- Add `local_distances` function to compute the mean/median/sum of the distances between nodes in local neighborhoods

- Add `weights2gdf` function to convert `libpysal.weights.W` into a `gpd.GeoDataFrame` with `geometry` column consisting of `shapely.geometry.LineStrings`
- Add grid fitting to `_SpatialContext` classes. Allows a grid of patches to be overlayed on top of different context areas. The patch sizes and strides can be user defined.
- Better looking links in `_SpatialContext.plot()`. Different link classes now represented with different colors.
- Add `grid_classify` method to classify grids based on heuristics.

## Performance
- Support for parallel spatial context fitting: `_SpatialContext.fit(parallel=True)`

## Fixes

- Drop duplicates in `context2gdf`-class method

- clarify the `apply_gdf` function api.
- clarify the `_SpatialContext` api.

<a id='changelog-0.1.1'></a>
# 0.1.1 — 2023-10-13

Expand Down
2 changes: 1 addition & 1 deletion cellseg_gsontools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.1.1"
__version__ = "0.1.2"

__all__ = ["__version__"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cellseg-gsontools"
version = "0.1.1"
version = "0.1.2"
description = "Toolbelt for merging and extracting features from geojson masks."
authors = ["Okunator <oskari.lehtonen@helsinki.fi>"]
readme = "README.md"
Expand Down

0 comments on commit 1ae71ad

Please sign in to comment.