Skip to content

Efficient .mex implementation of spike time tiling coefficient + some utilities (e.g. probabilistic thresholding of adjacency matrix)

Notifications You must be signed in to change notification settings

jeremi-chabros/sttc

Repository files navigation

High-performance MEX implementation of Spike Time Tiling Coefficient.

IMPORTANT:

If you don't have the appropriate .mex version of your .c script (e.g. .mexmaci64 for OSX, .mexw64 for Windows), you need to first run in command window:

mex STTC.c -R2018a


List of core files

File Function
STTC.c Main script for STTC
get_sttc.m. Parses inputs from MATLAB and passes them to sttc.c
adjM_thr_JC.m Runs probabilistic thresholding of adjacency matrix output by get_sttc.m. Slow but with plots for troubleshooting.
adjM_thr_parallel.m Parallel computing version of adjM_thr_JC.m. Much faster but does not support plotting.
significance_distribution_plots.m Dependency of adjM_thr_JC.m, plots the evolution of threshold weights over iterations
cmocean.m Perceptually uniform (colorblind friendly) colormaps. See: https://uk.mathworks.com/matlabcentral/fileexchange/57773-cmocean-perceptually-uniform-colormaps.

Auxillary files

  • cshift.c runs ultra-fast circular shifts on binary arrays. Not used - requires inefficient conversion from event times to binary event matrix.
  • cshift_test.m rough draft of some of the utilities now moved to adjM_thr_JC.m.

About

Efficient .mex implementation of spike time tiling coefficient + some utilities (e.g. probabilistic thresholding of adjacency matrix)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published