meanap.pipeline.sttc¶
Spike Time Tiling Coefficient (STTC), port of get_sttc.m / sttc_m.m.
Reference: Cutts & Eglen (2014), “Detecting Pairwise Correlations in Spike Trains: An Objective Comparison of Methods and Application to the Study of Retinal Waves”, https://www.ncbi.nlm.nih.gov/pubmed/25339742
Functions
|
Pairwise STTC adjacency matrix, port of |
|
Spike time tiling coefficient between two spike trains (in seconds). |
- meanap.pipeline.sttc.get_sttc(spike_times_dict, n_channels, lag_ms, duration_s)[source]¶
Pairwise STTC adjacency matrix, port of
get_sttc.m.Negative values and NaNs (including the diagonal, which is never computed) are zeroed, matching MATLAB’s
adjM(adjM<0)=0; adjM(isnan(adjM))=0;.- Parameters:
spike_times_dict (dict[int, ndarray])
n_channels (int)
lag_ms (float)
duration_s (float)
- Return type:
ndarray