Skip to main content

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 details, 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 OG Image SP Constant Net Dim Gram Mat REC Image
Incoherent Network OG Image SP Constant Net Dim Gram Mat REC Image

Quick Intro

For a quick introduction refer to Usage and Examples!

Further information

Contact

[dfb@kth.se]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

network_spatial_coherence-0.1.1993.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

network_spatial_coherence-0.1.1993-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

Details for the file network_spatial_coherence-0.1.1993.tar.gz.

File metadata

File hashes

Hashes for network_spatial_coherence-0.1.1993.tar.gz
Algorithm Hash digest
SHA256 f5d96e48206c25038a577e949d75841039070f9978b3462e57e288e4f3c4ca9b
MD5 18b59cd9aa7353537dd0435650cc6aa5
BLAKE2b-256 6e231ec8ebdfc6bf511b6f16af7c50003240fed1afb19cd9a4d57bf07ff0b045

See more details on using hashes here.

File details

Details for the file network_spatial_coherence-0.1.1993-py3-none-any.whl.

File metadata

File hashes

Hashes for network_spatial_coherence-0.1.1993-py3-none-any.whl
Algorithm Hash digest
SHA256 4a8f836decb478b40a515669c6bc21f74fb5f656326ae8cff2fed0c7c163815a
MD5 fd0d5cd63f49b8a199901bab4e3053e7
BLAKE2b-256 28e28d12f1c3995a86d0cdd8bf63c004f6d62217ec36dcc9f80f2dc5ffd56742

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page