//genesis
// MSsim.g 

/***************************		MS Model, Version 9.1	***************
*******************************************************************************
****************************** Begin includes *******************************/

str 	neuronname = "/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
			     
// 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="Syn7NaFdR34"  

//Store_Parameters

//set random seed so for each simulation the randomspike train will be the same
randseed 2370

//3 = 5757538
//5 = 9824501
//4 = 2394075
//6 = 492
//7 = 2370

include RebekahSims/USnoAPgrad.g
randseed 2370
include RebekahSims/US5grad.g
randseed 2370
include RebekahSims/US10grad.g
randseed 2370
include RebekahSims/US20grad.g
randseed 2370
include RebekahSims/US30grad.g
randseed 2370
include RebekahSims/US50grad.g
randseed 2370
include RebekahSims/US100grad.g
randseed 2370
include RebekahSims/US175grad.g
randseed 2370
include RebekahSims/US290grad.g