load_data.m
- load random stimulus and spike time info from mat files (and save them to txt files)calc_STA_and_STC.m
- calculate STA and STCfind_significant_eigen_values.m
- find significant eigen values of STC using a nested hypothesis test
-
All the STA and STC results must be in the current workspace.
For example, right after running
demo_sta_vs_stc
, save results to a MAT file (about 100~200 MB).save results_20190922.mat
And, load the file when you want to analyze the results.
clear load results_20190922.mat
-
add
tools
to pathaddpath tools
-
launch the app by typing
stc_app
-
In the chennel list on the left, cleck the channel you want to anlyze.
-
Click 'STA' or 'STC' tap on the top
- Install GLMspiketools developed by J. Pillow.
- Run
estimGLM.m
to calc STA, GLM, and bilinear GLM for some chosen channels.