Network Validation using the Spatial Coherence Framework.
Project description
Network Spatial Coherence
How good is your network? This package measures the spatial coherence of a network—how closely it resembles a physical network—. Additionally, it can reconstruct the network's original positions in space using the STRND algorithm. Networks can be simulated (if you don't have any) or imported, and weighted and bipartite networks are supported. For detailed methodologies, see Spatial Coherence and STRND papers.
Features
- Analyze the spatial coherence of a network
- Reconstruct images from purely network information - like drawing a country by only knowing which train stations are connected
- Efficient graph loading and processing (sparse matrices)
- Handles simulated graphs, custom graphs, unweighted graphs, weighted graphs, bipartite graphs
Install
Python 3.11 is reccomended, although older versions should work. See requirements.txt
for dependencies.
pip install network_spatial_coherence
Example Results
OG Image | SP Constant | Net Dim | Gram Mat | REC Image | |
---|---|---|---|---|---|
Coherent Network | |||||
Incoherent Network |
Further information
- Usage and Examples
- Directory Structure
- GraphArgs Configuration
- Results Location
- Interactive Visualization
Contact
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file network_spatial_coherence-0.1.197.tar.gz
.
File metadata
- Download URL: network_spatial_coherence-0.1.197.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 836c7025a85289175fb572052d663fb69d0263be97e816c634948d9c649d59f4 |
|
MD5 | dda1a5d2688433ff474241e01c13ec76 |
|
BLAKE2b-256 | 613de06a24d1c01cf0907ecacbadb9950f0a874f2e6ace1333c8a8eeb7fc9630 |
File details
Details for the file network_spatial_coherence-0.1.197-py3-none-any.whl
.
File metadata
- Download URL: network_spatial_coherence-0.1.197-py3-none-any.whl
- Upload date:
- Size: 4.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55bf74f1e934d8fa21c260febfcd70858339dab4c7a64863e6ae2ea10a85404f |
|
MD5 | 75c51f07adf7a6a71deb2d722084373c |
|
BLAKE2b-256 | 8b871343c69052eef4b7a28a0dcf893bb7ae3758ad621884d60de2e49318e6af |