This toolkit provides functions for building, transforming, and analyzing temporal networks.
It is organized into five functional groups that form a pipeline:
Convert dynamic functional connectivity (DFC) into temporal networks.
ComputeDynamicFunctionalConnectivity(time_series, window, lag)
β Sliding-window Pearson correlation matrices.FindThresholdForAverageDegree(adj_tensor, target_degree, resolution=100)
β Find threshold to match a target average degree.BinarizeDFC(time_series, target_degree, window, lag)
β Pipeline: DFC β thresholding β binary adjacency.SetDiagonals(tensor, value=1)
β Utility to enforce diagonal values.
Create synthetic and null temporal networks.
GenerateSymmetricRandomNetworkGenerateSymmetricSmallWorldNetworkGenerateSymmetricScaleFreeNetworkGenerateSymmetricNetwork(dispatch by type)GenerateStaticTemporalNetworkGenerateTemporalNetworkByLinkActivationGenerateTemporalNetworkWithDensityVariabilityGenerateTemporalLinkCountsGenerateNullModelPartiallyRandomizeMatrixGenerateRandomizedTemporalNetworkTrimIsolatedNodes
Temporal reachability, shortest paths, and circulation.
ComputeAverageDegreeSmartWalkerβ Earliest arrival latencies.RandomWalkerβ Monte Carlo first-passage latencies.MeanLatencyMatrixAnalysisβ Summarize latency matrix.ComputeTemporalDistanceMeasuresβ Bundle (degree + walkers).ComputeCirculationLatencyComputeCirculationRateComputeCirculationLatencyAndRate(efficient one-pass).
Quantify network volatility and temporal memory.
ComputeTemporalMutualInformationComputeAdjustedEntropyComputeTemporalEdgeOverlapComputeEdgePersistenceRateComputeNeighborhoodMemoryComputeReturnabilityComputeLinkBurstiness
Measure clustering, modularity, and persistence of community structure.
ComputeStaticClusteringComputeTemporalClusteringComputeSnapshotTransitivity,ComputeTemporalTransitivityComputeSnapshotParticipationCoefficient,ComputeTemporalParticipationCoefficientComputePartnerStabilityComputePartnerDiversityComputeNodePersistence
ComputeSnapshotModularity,ComputeTemporalModularity
- Time series β TNet (Group 1)
- Null models & synthetic networks (Group 2)
- Distance & circulation metrics (Group 3)
- Dynamism & memory analysis (Group 4)
- Segregation & cohesion analysis (Group 5)
Together these provide a unified framework for studying both integration and segregation in temporal networks.
Built by Simachew Mengiste (with Demian Bataglia)
Driven by curiosity, scientific clarity, and modular design. FunSy - LNCA - Unistra
