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 as a CLI to facilitate network-theoretic analysis of marine connectivity in support of larval ecology.
It functions as a library to computations on network ensembles.
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 file 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.sigclu(**sc_config)
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.1.0.tar.gz
.
File metadata
- Download URL: netclop-2.1.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df46fba93e4ca09d93424f15edca7eb5a9994afe63be89e0e76bc3b5c90f257d |
|
MD5 | b0b055bc2ce2213eb273274cae3ea496 |
|
BLAKE2b-256 | 79640c00a460ee7134a9143b911b01b01095a130ad0225b0983c3634ebf0338a |
File details
Details for the file netclop-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: netclop-2.1.0-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43aa0d1328befa2887296128b3eb1dfe529d6a6cf98cc9791449d4e002620ebf |
|
MD5 | b6fb48d563e113a32262673496e40ba7 |
|
BLAKE2b-256 | 990217a90d22b8ba669d9e5fb35ac5a0dd1fd5f5da93780a8cdc9395d0f949b9 |