Skip to content

WIP: Port of weights to graph#324

Open
darribas wants to merge 6 commits into
gdsbook:mainfrom
darribas:weights2graph
Open

WIP: Port of weights to graph#324
darribas wants to merge 6 commits into
gdsbook:mainfrom
darribas:weights2graph

Conversation

@darribas
Copy link
Copy Markdown
Member

@darribas darribas commented Mar 17, 2026

This is a PR to move the content of the book from the original status, which is supported by the weights submodule for spatial graphs and weights, to the new graph submodule.

  • Port of code
  • Adaptation of narrative text

Work in progress, not to be merged.

NOTE - to identify instances where weights is used in code of the book, one can use:

awk '/^```python/{inside=1; next} /^```/{inside=0; next} inside && /weights/{print FILENAME ":" NR ": " $0}' notebooks/*.md

from the root directory.

Much of the documentation used for the port relies on Martin's materials.

	modified:   notebooks/06_spatial_autocorrelation.ipynb
	modified:   notebooks/07_local_autocorrelation.ipynb
	modified:   notebooks/07_local_autocorrelation.md
…s removing section on great circle distances as it's deprecated on Graph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant