causalcompass.datasets.vanilla.simulate_lorenz_96
- causalcompass.datasets.vanilla.simulate_lorenz_96(p, T, F=10.0, delta_t=0.1, sd=0.1, burn_in=1000, seed=0)[source]
Generate time series data from the Lorenz-96 dynamical system.
References
https://github.com/iancovert/Neural-GC
- Parameters:
p (int) – Number of variables
T (int) – Number of time points
F (float, default 10.0) – Forcing parameter
delta_t (float, default 0.1) – Time step for ODE solver
sd (float, default 0.1) – Noise standard deviation
burn_in (int, default 1000) – Burn-in period
seed (int, default 0) – Random seed
- Returns:
(data, GC) — time series array of shape (T, p) and ground-truth causal graph of shape (p, p).
- Return type:
tuple