Code adapted from Jercog et. al. 2017
Jercog, D., Roxin, A., Barthó, P., Luczak, A., Compte, A., & de la Rocha, J. (2017). UP-DOWN cortical dynamics reflect state transitions in a bistable network. eLife, 6, e22425. https://doi.org/10.7554/eLife.22425
Their original model can be found here:
https://senselab.med.yale.edu/ModelDB/showmodel.cshtml?model=227972#tabs-1
Major changes include a MATLAB implementation rather than C++ and the addition of our EtOH variable to adjust UDS transitions.
Description
Pull all folder contents into MATLAB's working directory. Open analysisScript.m and press Run
Multiple figures should populate and save to the working directory.