This is the NEURON code associated with the paper:

Combe CL, Upchurch CM, Canavier CC, Gasparini S, (2022) Cholinergic Modulation Shifts the Response of CA1 Pyramidal Cells to Depolarizing Ramps via TRPM4 Channels with Implications for Place Field Firing

This model entry was contributed by C Canavier. The freely available NEURON simulation enivronment (from http://www.neuron.yale.edu) is required for this model.

To use:
-------
Autolaunch from modeldb if the browser is capable or compile the mod files and start with mosinit.hoc (easiest) (If you need more help to run the model, please refer to:
https://senselab.med.yale.edu/ModelDB/NEURON_DwnldGuide.cshtml)

On linux for example typing
nrngui init.hoc
Will generate a panels asking what simulation wou want to run.

running one of these simulations will produce a shape plot, a voltage plot, and plots of the calcium concentration in the outermost shell, nanodomain, TRPM4 activation and resulting TRPM4 current in the soma

The simulation that reads the original carbachol simulation's calcium and plays it into the model without a voltage dependence cannot be run untill the calcium has been saved. To do this create a folder "nanodomain_data" and run save_can_from_fig9.hoc

Additional running notes:
-------------------------

Interspike intervals and frequencies were analyzed offline.