This software is to fit FitzHugh-Nagumo (FHN) model of state dependence of neural responses was developed in paper:
[1] H. Safaai, R. Neves, O. Eschenko, N. K. Logothetis, Stefano Panzeri, A dynamical model of the effect of Locus Coeruleus firing on single-trial cortical state dynamics and sensory, PNAS 2015, published ahead of print September 28, 2015, doi:10.1073/pnas.1516539112
Any person downloading this software accepts to acknowledge this study by citing it in every publication or report arising from the use of this material.
The software can be downloaded as rar file from this link.
In the software, the file Test.m fits to cortical S1 multiunit activity (MUA) the FHN dynamical model with Locus Coeruleous (LC) neuromodulatory inputs to a 1.5 sec stretch of spontaneous MUA activity.
The function test.m calls the following functions contained in the package:
- FHN_Auto.m: Function which gets the model parameters and modulatory inputs and integrates the dynamics prediction using the auto-dynamical equations defined in [1].
- FHN_Self.m: Similar to FHN_Auto but this functions computes the self-dynamical equations defined in SAfaai et al (PNAS 2015).
- FHN_ep_Auto.m: Computes the cost functions of the model fit error and the MUA for auto-dynamical model.
- FHN_ep_Auto.m: Similar to FHN_ep_Auto.m but for self-dynamical model.
- FHN_OPT.m: Optimizes the fit error and estimates the self and auto dynamical model parameters.
- test.m: The function calls an example dataset DATA.m that contains Matlab data with the following structure used to run a test example of the codes:
DATA.MUA: MUA activity
DATA.Time: Time stams
DATA.Input1: Input 1 to the dynamical model
DATA.Input2: Input 2 to the dynamical model
DATA.PARAMS: Estimated model parameters of the example trial.