Skip to content

Commit

Permalink
Sanity cleanups for scripts/examples
Browse files Browse the repository at this point in the history
- Remove unorganized scripts
- Move example scripts into examples folder
- Sanity cleanups for example scripts: fix naming, common header, etc
- Clear outputs
  • Loading branch information
mszell committed Apr 22, 2024
1 parent e9cabce commit 54d14d4
Show file tree
Hide file tree
Showing 43 changed files with 6,169 additions and 48,336 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ This allows you to run Jupyter with the kernel `sb_env` (Kernel > Change Kernel

We provide a minimum working example in two formats:

* [Jupyter notebook (`mwe.ipynb`)](mwe.ipynb)
* [Python script (`mwe.py`)](scripts/examples/mwe.py)
* [Jupyter notebook (`00-mwe.ipynb`)](examples/00-mwe.ipynb)
* [Python script (`00-mwe.py`)](examples/00-mwe.py)

For a guided start after installation, see the [usage section](https://superblockify.city/usage/) in the documentation.

Expand Down
14 changes: 11 additions & 3 deletions mwe.ipynb → examples/00-mwe.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@
},
{
"cell_type": "markdown",
"id": "74a6085d-50ec-4334-a0e5-13ed2b776b5b",
"id": "abbbed56-e2a5-4930-9df7-d8db860fce20",
"metadata": {},
"source": [
"More info: [superblockify.city](https://superblockify.city)"
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "bf599af0-108f-4d78-bce4-0491ba7bc863",
"metadata": {},
"source": [
"# Minimum working example"
Expand All @@ -26,8 +35,7 @@
"id": "6ddf99e9-c41c-4a47-878e-4f04d480fa2e",
"metadata": {},
"source": [
"This notebook runs a minimum working example with `superblockify`. \n",
"The learn more about `superblockify`, visit: [superblockify.city](https://superblockify.city)"
"This notebook runs a minimum working example with `superblockify`. "
]
},
{
Expand Down
File renamed without changes.
480 changes: 480 additions & 0 deletions examples/01-getting-started.ipynb

Large diffs are not rendered by default.

737 changes: 737 additions & 0 deletions examples/02-restricted-distance.ipynb

Large diffs are not rendered by default.

408 changes: 408 additions & 0 deletions examples/03-network-visualization.ipynb

Large diffs are not rendered by default.

251 changes: 251 additions & 0 deletions examples/04-distance-calculation-figures.ipynb

Large diffs are not rendered by default.

916 changes: 916 additions & 0 deletions examples/05-betweenness-centrality.ipynb

Large diffs are not rendered by default.

935 changes: 935 additions & 0 deletions examples/06-population-density.ipynb

Large diffs are not rendered by default.

1,323 changes: 1,323 additions & 0 deletions examples/07-superblock-boundary.ipynb

Large diffs are not rendered by default.

1,106 changes: 1,106 additions & 0 deletions examples/08-population-tesselation.ipynb

Large diffs are not rendered by default.

219 changes: 0 additions & 219 deletions scripts/TestingNotebooks/20221018-Painting_Grids.ipynb

This file was deleted.

2,310 changes: 0 additions & 2,310 deletions scripts/TestingNotebooks/20221025-Find_Grids.ipynb

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/TestingNotebooks/20221122-painting_grids.py

This file was deleted.

17 changes: 0 additions & 17 deletions scripts/TestingNotebooks/20221123-bearing_binning.py

This file was deleted.

877 changes: 0 additions & 877 deletions scripts/TestingNotebooks/20230409-dist_calc_restricted_code.ipynb

This file was deleted.

721 changes: 0 additions & 721 deletions scripts/TestingNotebooks/20230411-graph-representation_build-up.ipynb

This file was deleted.

314 changes: 0 additions & 314 deletions scripts/TestingNotebooks/20230411-restricted_dist_calc_figures.ipynb

This file was deleted.

1,035 changes: 0 additions & 1,035 deletions scripts/TestingNotebooks/20230503-betweenness_calc.ipynb

This file was deleted.

1,756 changes: 0 additions & 1,756 deletions scripts/TestingNotebooks/20230531-population_density.ipynb

This file was deleted.

21,250 changes: 0 additions & 21,250 deletions scripts/TestingNotebooks/20230606-LTN_boundary.ipynb

This file was deleted.

17,745 changes: 0 additions & 17,745 deletions scripts/TestingNotebooks/20230608-cell_population.ipynb

This file was deleted.

748 changes: 0 additions & 748 deletions scripts/TestingNotebooks/20240416-getting_started.ipynb

This file was deleted.

258 changes: 0 additions & 258 deletions scripts/analysis/01_crawl_100_cities.py

This file was deleted.

Loading

0 comments on commit 54d14d4

Please sign in to comment.