//genesis // MSsim.g /*************************** MS Model, Version 9.1 *************** ******************************************************************************* ****************************** Begin includes *******************************/ str neuronname = "/cell" str cellpath = "/cell" str pfile="MScell/MScelltapershortCM3noproto.p" include MScell/MScellSyn //access make_MS_cell this function is only called from MSsim.g include graphics7 //access functions make_control & make_graph include RebekahSims/Store_Parameters.g include RebekahSims/SpikeMakerGrad.g include RebekahSims/SpikeMakerFlat.g include RebekahSims/add_outputBuffers.g // These two functions are only called from MSsimSyn.g /****************************** End includes *********************************/ float outputclock=2e-5 setclock 0 5e-6 // Simulation time step (Second) setclock 1 {outputclock} makeMScellSyn {neuronname} {pfile} // MS_cell.g reset /* these graphics no longer work because of some globals and cell names * need to edit to pass in neuronname, etc. But, would be better to write to file. */ // make_control // graphics.g // make_graph {neuronname} // graphics.g /*uncomment the following lines (and one line in MScell.g) to use the hsolver setfield {neuronname} chanmode 1 call {neuronname} SETUP setmethod 11 */ reset /****************************** End MSsimSyn.g **********************************/ str diskpath1="11.008Syn3NaFdnoNMDA" //Store_Parameters //set random seed so for each simulation the randomspike train will be the same //3 = 5757538 //5 = 9824501 //4 = 2394075 //6 = 492 //7 = 2370 //Flat input /* randseed 5757538 include RebekahSims/USnoAP.g DeleteAllSpikesFlat randseed 5757538 include RebekahSims/US10.g DeleteAllSpikesFlat randseed 5757538 include RebekahSims/US20.g DeleteAllSpikesFlat randseed 5757538 include RebekahSims/US30.g DeleteAllSpikesFlat randseed 5757538 include RebekahSims/US50.g DeleteAllSpikesFlat randseed 5757538 include RebekahSims/US100.g DeleteAllSpikesFlat randseed 5757538 include RebekahSims/US175.g DeleteAllSpikesFlat randseed 5757538 include RebekahSims/US290.g DeleteAllSpikesFlat */ //Input Gradient randseed 5757538 include RebekahSims/USnoAPgrad.g deleteALLspikesGrad randseed 5757538 include RebekahSims/US10grad.g deleteALLspikesGrad randseed 5757538 include RebekahSims/US20grad.g deleteALLspikesGrad randseed 5757538 include RebekahSims/US30grad.g deleteALLspikesGrad randseed 5757538 include RebekahSims/US50grad.g deleteALLspikesGrad randseed 5757538 include RebekahSims/US100grad.g deleteALLspikesGrad randseed 5757538 include RebekahSims/US175grad.g deleteALLspikesGrad randseed 5757538 include RebekahSims/US290grad.g deleteALLspikesGrad