Network clustering operations (for geophysical fluid transport)
Project description
netclop
NETwork CLustering OPerations (for geophysical fluid transport).
netclop
is a command-line interface for constructing network models of geophysical fluid transport and performing associated clustering operations (e.g., community detection and significance clustering).
Features
- Binning of Lagrangian particle simulations using H3
- Network construction of LPT connectivity
- Community detection using Infomap
- Network resampling and recursive significance clustering
- Node centrality calculation
- Spatially-embedded network visualization
About
netclop
was created to facilitate network-theoretic analysis of marine connectivity in support of larval ecology.
Developed at the Department of Engineering Mathematics and Internetworking, Dalhousie University by Karsten N. Economou.
Papers
- 2024 - Characterizing variability in complex network community structure with a recursive significance clustering scheme (Karsten N. Economou, Cassie R. Norman, Wendy C. Gentleman)
Usage
CLI
netclop
accepts Lagrangian particle tracking (LPT) simulations decomposed into initial and final positions in as .csv
structured as
initial_latitude,initial_longitude,final_latitude,final_longitude
as an input. Recursive significance clustering is run on all provided filepaths of LPT position files and stores all produced content in the specified output directory
netclop rsc [OPTIONS] [PATHS] -o [DIRECTORY]
If one LPT position file is given, it will be bootstrapped; otherwise, each LPT position files is treated as an observation.
Significance clustering
Significance clustering can be run on a networkx.Graph
object directly, which will partition and bootstrap
from netclop import NetworkEnsemble
ne = NetworkEnsemble(net, **ne_config)
ne.partition()
ne.sigclu(**kwargs)
cores = ne.cores
or on an ensemble of partitions
from netclop import SigClu
sc = SigClu(partitions, **sc_config)
sc.run()
cores = sc.cores
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 netclop-2.0.0.tar.gz
.
File metadata
- Download URL: netclop-2.0.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.3 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8dc0777f1b70f25fee2abd504a1b9987807b9cf8b6e176df227fd7f16daa3e6 |
|
MD5 | 405fc88cae3444bcadf92814dfd9214e |
|
BLAKE2b-256 | ddd34eb59d730a1e1cb8060606656cbb097c108180c001d3f32bd37c88b37557 |
File details
Details for the file netclop-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: netclop-2.0.0-py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.3 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 392edb3204e46d2f6af4cf3e0bbcc057f6ec7ab25c2d0d3a15cd23bbf8652f1e |
|
MD5 | ab8cd864050348b0fcef1c141882d5bc |
|
BLAKE2b-256 | aa212adc0a0f71a72c4a485cd7a50d0e69fc14e327d57b8bb6a28018d3e8cc04 |