// Dorea Vierling-Claassen, 2010


//*************
// Network Connectivity 
//*************

//E to E conns, AMPA 

// E to E connections with delay, max delay is 7.3891 on diagonal
IItoII_fr(0.001635,100,1,0,1,6) 
IItoII_fr(0.001635,100,5,0,1,6)
IItoII_fr(0.001635,100,6,0,1,6)

// E to I conn, AMPA
IItoIL2_fr(15,0.001316,100,1,100,9)  

// I to E, GABA-a 
IL2toII_fr(7,2,.008,100,1,100) 

// I to I, GABA-a
IL2toIL2_fr(15,0.023421,100,1,100,2) 

////////////
// Som conns, start with same E-S weights as E-I, and same S-I weights as as I to E

// E to Som, AMPA, facilitating
IItoSL2_fr(15,0.00099512,50,1,50,8)  // Ampa, facilitating 

// S to E -- input to two most distal compartments of apical dendrite
SL2toII_fr(2,3,0.1059,100,1,100) // GABA-b longer inhib
SL2toII_fr(3,3,0.1059,100,1,100) // GABA-b

// S to FS
SL2toIL2_fr(15,.002714,100,1,100,3) //GABA-b

// FS to S
IL2toSL2_fr(15,.1,100,1,100,2) //GABA-a