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!

Detailed information

Interactive Network Viz

Citation

If you use this method or refer to its concepts in your research, please cite:

Bonet, D. F., Blumenthal, J. I., Lang, S., Dahlberg, S. K., & Hoffecker, I. T. (2024). Spatial coherence of DNA barcode networks. bioRxiv. https://doi.org/10.1101/2024.05.12.593725

Bonet, D. F., & Hoffecker, I. T. (2023). Image recovery from unknown network mechanisms for DNA sequencing-based microscopy. Nanoscale, 15(18), 8153–8157. https://doi.org/10.1039/D2NR05435C

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for network_spatial_coherence-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a53db4fa9b79329c17c97b74c76b3bc7f2f8b5d27b98c076fe26127994f0108f
MD5 5a5f12b8714401d7cf0ebc1d548c07a3
BLAKE2b-256 7f58abea1cde2593614dca2fed1d537019971c17f02f967df249ca4747f3bc97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for network_spatial_coherence-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bd8c068d8edbeea861aaf65a50c576b7a26d4f05862cbac820e4ee60b4557af
MD5 9718eff4b53073a71f575d613fe3470c
BLAKE2b-256 02504add10a7593699d2d8f6b88c8a4c1b87d3dd0daede31d8552e128a53f0d1

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