Skip to main content

compound_poisson_process

Function compound_poisson_process 

Source
pub fn compound_poisson_process(
    rate_hz: f64,
    burst_mean: f64,
    duration_s: f64,
    dt: f64,
    seed: u64,
) -> Vec<f64>
Expand description

Compound Poisson process (Snyder & Miller 1991). burst_mean: mean spikes per event (Poisson distributed).