KDE spike-phase and history models
Authors/Creators
- 1. University of California San Diego
- 2. MIT
- 3. Stanford University
Description
Here you will find a series of scripts and functions to fit spike-phase models and spike histories.
Phase models rely on fitting kernel density estimators to the distribution of rhythmic phase values that coincide with a neuron's spikes. The kernel bandwidth is optimized via cross-validation.
History models are fit via logistic regression.
The scripts to run the models all begin with the "run_models_" prefix, and they vary according to the format the data are in (.mat files versus .csv files) as well as whether there is an option for leave-one-out cross-validation to find the optimal KDE kernel bandwidth. For instance, "run_all_models_simcells.py" will expect data to be already organized as a dataframe, while "run_all_models_realcells.py" will expect data to come in as a .mat file.
Files
compare_rhythmic_cshort_models_over_time.ipynb
Files
(18.1 MB)
| Name | Size | |
|---|---|---|
|
md5:8b012255907ac4e6960adb93bb5e363e
|
9.0 kB | Download |
|
md5:7983409768335f52f17628e8a1ac9082
|
9.7 MB | Preview Download |
|
md5:96c28816514e9c8d54391a59cf0828aa
|
1.3 MB | Preview Download |
|
md5:540fb4cbc74044b7e7ca5c8538c3c3d3
|
9.2 kB | Download |
|
md5:01f7d08afbe2ddfad5f8444fbc106899
|
187.4 kB | Preview Download |
|
md5:b996e9710b272834dd3dbff0987ae34b
|
13.7 kB | Download |
|
md5:eba943aea01b7faca778e1be6723b469
|
2.4 kB | Download |
|
md5:567fb2e1d1eb9849310fc67ce9c99168
|
3.8 kB | Download |
|
md5:7d02311732c40728f2ac2fba315d4961
|
6.8 MB | Preview Download |
|
md5:8d3517060e752b8b14f57ee4e195f1f1
|
1.9 kB | Download |
|
md5:15f7873f206eb63bf5936f335e62c863
|
832 Bytes | Preview Download |
|
md5:c00901c174e985386b878efc2fd97621
|
19.8 kB | Download |
|
md5:d0b12a3126f7946dc7bf7e5cebe05a1f
|
8.8 kB | Download |
|
md5:6a91d521a58869c2df6b7eb56e65639a
|
11.2 kB | Download |
|
md5:4be86c5246966f67c713681b08319a48
|
9.1 kB | Download |
|
md5:fe55a02c39e795cadc5b3a732fddb60e
|
8.7 kB | Download |
|
md5:8cc3587e4b927bfac7ef1fc94220ace6
|
3.4 kB | Download |
|
md5:a093d9bf26a17c1ab28c0deaf661da72
|
6.4 kB | Download |
|
md5:37995e4d2581e67a8c0dab193975181b
|
12.5 kB | Download |