ts_sim¶
-
hyppo.tools.
ts_sim
(sim, n, **kwargs)¶ Time-series simulation generator.
Takes a simulation and the required parameters, and outputs the simulated data matrices.
- Parameters
sim (
str
) -- The name of the simulation (from thehyppo.tools
module) that is to be rotated.n (
int
) -- The number of samples desired by the simulation (>= 3).**kwargs -- Additional keyword arguements for the desired simulation.
- Returns
x,y (
ndarray
) -- Simulated data matrices.