// $Id: ffi_to_pyr.g,v 16.1 2000/03/02 14:43:39 ajay Exp $ // genesis // ffi_to_pyr.g HIPPO model -GW // synaptic connections from feedforward interneuron to all neurons in pyr layer. echo Making connections from feedforwrd interneuron to pyr.... function make_ffi_pyr_conn int cnum, sidx for (cnum = 0; cnum < NPYR; cnum = cnum+1) // addmsg between that ffi cell and pyr cells addmsg /ffi_layer/int_a[0]/soma/spike /pyr_layer/pyr[{cnum}]/soma/GABAa_channel SPIKE // get index number of this newly added synapse sidx = {getsynindex /ffi_layer/int_a[0]/soma/spike /pyr_layer/pyr[{cnum}]/soma/GABAa_channel} // set delay field of this synapse to zero. setfield /pyr_layer/pyr[{cnum}]/soma/GABAa_channel synapse[{sidx}].delay {ffi_delay} // set weight field of this synapse. Reinitialized in control.g setfield /pyr_layer/pyr[{cnum}]/soma/GABAa_channel synapse[{sidx}].weight {pyr_ffi_wt} end end make_ffi_pyr_conn