simulate_kuramoto: Implementation to simulate a Kuramoto model of oscillators

Description Usage Arguments Value

View source: R/kuramoto.R

Description

Simulate Kuramoto model on a ground truth network

Usage

1
2
3
4
5
6
7
8
simulate_kuramoto(
  input_matrix,
  L,
  dt = 0.01,
  strength = 0,
  phases = NULL,
  freqs = NULL
)

Arguments

input_matrix

The input (ground-truth) adjacency matrix of a graph with 'N' nodes. Must be valid square adjacency matrix.

L

Integer length of the desired time series.

dt

Float size of timestep for numerical integration.

strength

Float coupling strength (prefactor for interaction terms).

phases

Vector of of initial phases.

freqs

Vector of internal frequencies.

Value

An N * L array of synthetic time series data.


Fagan-Lab/dynet documentation built on March 3, 2021, 2:53 a.m.