Scripts used for the single-compartment simulations of the plasticity in the post-synaptic spine using NEURON RxD simulator. Contains also the scripts for drawing the Figures of the paper.

N.B. Version 7.5 of NEURON needed. Some problems found with version 7.6-7.7: the line "reaction256 = rxd.Reaction(specs[195] > specs[195]*0, ks[404])" in model_nrn*.py should be replaced with an alternative reaction describing the decay of ACh, e.g. "specs.append(rxd.Species(cyt, name='null', charge=0, initial=0.0)); reaction256 = rxd.Reaction(specs[195] > specs[-1], ks[404])"

Files included:

calcconds.py calcconds_dimerdimer.py drawfig11.py drawfig2.py drawfig3.py drawfig3_1.py drawfig4.py drawfig5.py drawfig9abc.py emoo.py fit_cAMP_withdiss_1d.py fits_goodparams.mat fits_goodparams_manyb.mat fitter_fewer.py fitter_fewer1withCK_check_given.py fitter_fewer_check.py fitter_fewer_check_given.py fitter_manyb_check_given.py mesh_general.out model_nrn_altered_noU.py model_nrn_altered_noU_extfilename_lowmem_recall.py model_nrn_altered_noU_simpleflux_extfilename_lowmem.py model_nrn_altered_noU_noninterp.py model_nrn_oldCaM_altered_noU.py model_nrn_oldCaM_altered_noU_extfilename_lowmem_recall.py model_nrn_paired_contnm_var.py model_nrn_testPKA_withdiss.py model_nrn_testPKA_withdiss_williamson_varyrates.py mytools.py protocols_many.py protocols_many_78withoutCK.py protocols_many_78withoutCK_1withCK.py reactionGraph.mat runfig11.sh runfig2.sh runfig3-4.sh runfig3_1.sh runfig5.sh runfig9.sh simsteadystate_flexible.py simsteadystate_li2020.py simsteadystate_oldCaM_li2020.py