Skip to main content

Module surrogates

Module surrogates 

Source

Functionsยง

compound_poisson_process
Compound Poisson process (Snyder & Miller 1991). burst_mean: mean spikes per event (Poisson distributed).
gamma_process
Gamma-renewal spike train (Kuffler et al. 1957). shape=1: Poisson. shape>1: more regular. shape<1: more bursty.
homogeneous_poisson
Homogeneous Poisson spike train (Heeger 2000).
inhomogeneous_poisson
Inhomogeneous Poisson via thinning (Lewis & Shedler 1979).
surrogate_bin_shuffling
Bin-shuffling surrogate (Hatsopoulos et al. 2003). Shuffles spikes within bins.
surrogate_dither
Spike dithering surrogate. Jitters each spike by +/-dither_ms.
surrogate_isi_shuffle
ISI-shuffle surrogate. Preserves rate + ISI distribution.
surrogate_joint_isi
Joint-ISI surrogate (Louis et al. 2010). Preserves ISI distribution and serial correlations.
surrogate_spike_train_shifting
Circular shifting surrogate (Hatsopoulos et al. 2003).
surrogate_trial_shuffle
Trial-shuffle surrogate. Destroys trial-to-trial correlation. Returns permuted indices (caller reorders trains).