def load(): add_synapse_model(Bg2Pyr, 'bg2pyr', overwrite=False) add_synapse_model(Bg2Pyr, overwrite=False) add_synapse_model(Pyr2Pyr, 'pyr2pyr', overwrite=False) add_synapse_model(Pyr2Pyr, overwrite=False) add_synapse_model(Pyr2Int, 'pyr2int', overwrite=False) add_synapse_model(Pyr2Int, overwrite=False) add_synapse_model(Int2Pyr, 'int2pyr', overwrite=False) add_synapse_model(Int2Pyr, overwrite=False) return
def load(): add_synapse_model(Exp2Syn1_STSP, 'exp2syn1_stsp', overwrite=False) add_synapse_model(Exp2Syn1_STSP, overwrite=False) return
def load(): add_synapse_model(InhSyn, 'inhsyn', overwrite=False) add_synapse_model(InhSyn, overwrite=False) return
def load(): #import pdb; pdb.set_trace() add_synapse_model(Bg2Pyr, 'bg2pyr', overwrite=False) add_synapse_model(Bg2Pyr, overwrite=False) add_synapse_model(Pyr2Pyr, 'pyr2pyr', overwrite=False) add_synapse_model(Pyr2Pyr, overwrite=False) add_synapse_model(Pyr2Int, 'pyr2int', overwrite=False) add_synapse_model(Pyr2Int, overwrite=False) add_synapse_model(Int2Pyr, 'int2pyr', overwrite=False) #import pdb; pdb.set_trace() add_synapse_model(Int2Pyr, overwrite=False) #import pdb; pdb.set_trace() return
def load(): add_synapse_model(Bg2Pyr, 'bg2pyr', overwrite=False) add_synapse_model(Bg2Pyr, overwrite=False) add_synapse_model(bginh, 'bginh', overwrite=False) add_synapse_model(bginh, overwrite=False) add_synapse_model(interD2interD_STFD, 'interD2interD_STFD', overwrite=False) add_synapse_model(interD2interD_STFD, overwrite=False) add_synapse_model(interD2pyrD_STFD, 'interD2pyrD_STFD', overwrite=False) add_synapse_model(interD2pyrD_STFD, overwrite=False) add_synapse_model(pyrD2interD_STFD, 'pyrD2interD_STFD', overwrite=False) add_synapse_model(pyrD2interD_STFD, overwrite=False) add_synapse_model(pyrD2pyrD_STFD, 'pyrD2pyrD_STFD', overwrite=False) add_synapse_model(pyrD2pyrD_STFD, overwrite=False) #SOM add_synapse_model(pyrD2interD_P2SOM_STFD, 'pyrD2interD_P2SOM_STFD', overwrite=False) add_synapse_model(pyrD2interD_P2SOM_STFD, overwrite=False) add_synapse_model(interD2pyrD_SOM2P_STFD, 'interD2pyrD_SOM2P_STFD', overwrite=False) add_synapse_model(interD2pyrD_SOM2P_STFD, overwrite=False) add_synapse_model(interD2interD_SOMPV_STFD, 'interD2interD_SOMPV_STFD', overwrite=False) add_synapse_model(interD2interD_SOMPV_STFD, overwrite=False) #CR add_synapse_model(pyrD2interD_P2CR_STFD, 'pyrD2interD_P2CR_STFD', overwrite=False) add_synapse_model(pyrD2interD_P2CR_STFD, overwrite=False) add_synapse_model(interD2pyrD_CR2P_STFD, 'interD2pyrD_CR2P_STFD', overwrite=False) add_synapse_model(interD2pyrD_CR2P_STFD, overwrite=False) return
:param secs: target sections :return: list of NEURON synpase objects """ syns = [] for x, sec in zip(xs, secs): syn = h.Exp2Syn(x, sec=sec) syn.e = syn_params['erev'] syn.tau1 = syn_params['tau1'] syn.tau2 = syn_params['tau2'] syns.append(syn) return syns def Exp2Syn(syn_params, sec_x, sec_id): """Create a list of exp2syn synapses :param syn_params: parameters of a synapse :param sec_x: normalized distance along the section :param sec_id: target section :return: NEURON synapse object """ syn = h.Exp2Syn(sec_x, sec=sec_id) syn.e = syn_params['erev'] syn.tau1 = syn_params['tau1'] syn.tau2 = syn_params['tau2'] return syn add_synapse_model(exp2syn, overwrite=False) add_synapse_model(Exp2Syn, overwrite=False)
def load(): add_synapse_model(bg2PN, 'bg2pn', overwrite=False) add_synapse_model(bg2PN, overwrite=False) add_synapse_model(Tone2Pyr, 'tone2pyr', overwrite=False) add_synapse_model(Tone2Pyr, overwrite=False) add_synapse_model(Shock2Pyr, 'shock2pyr', overwrite=False) add_synapse_model(Shock2Pyr, overwrite=False) add_synapse_model(Shock2Int, 'shock2int', overwrite=False) add_synapse_model(Shock2Int, overwrite=False) add_synapse_model(pyr2pyr, 'pyr2pyr', overwrite=False) add_synapse_model(pyr2pyr, overwrite=False) add_synapse_model(pyr2int, 'pyr2int', overwrite=False) add_synapse_model(pyr2int, overwrite=False) add_synapse_model(int2int, 'int2int', overwrite=False) add_synapse_model(int2int, overwrite=False) add_synapse_model(int2pyr, 'int2pyr', overwrite=False) add_synapse_model(int2pyr, overwrite=False) return
def load(): add_synapse_model(Tone2Pyr, 'tone2pyr', overwrite=False) add_synapse_model(Tone2Pyr, overwrite=False) add_synapse_model(Shock2Pyr, 'shock2pyr', overwrite=False) add_synapse_model(Shock2Pyr, overwrite=False) return