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.1995.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.1995-py3-none-any.whl (4.8 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for network_spatial_coherence-0.1.1995.tar.gz
Algorithm Hash digest
SHA256 8ea4c0a44594db3ed2a0a62f849dffd7d703e7317fefbdeb2dede55d8437ec21
MD5 5f60f130df318ad8d131e8220d5ea410
BLAKE2b-256 5bcedf297316ca14b08a02e894e96b95664d3870cd7e87f890ad5c49913a2b23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for network_spatial_coherence-0.1.1995-py3-none-any.whl
Algorithm Hash digest
SHA256 df8972663898047eccc36d198910764be563a0748629b948f06aae2c5e3b2309
MD5 b3c4b03dff551460bc343476dbf22c10
BLAKE2b-256 82b7e9d24834df21db9e0ea3f03320a4a6f575784ce6e972bdb1b10c5e0eba54

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