I am trying to put uniform synapses on a 3D structure of a motoneuron , the motoneuron consist of 731 section.
I want to spread the synapses uniformly on the 3D structure of the cell. so that if a section consist of 3 nseg , we should Have 3 synapses on that section.
Code: Select all
SysIVibrationFreq = 180
SysITimeofVibration = 1e9
STARTTIME = 1
INTERVAL = 1
R_SysISyn_Erev = 0 #...FR...
R_SysISyn_tau1 = 0.2
R_SysISyn_tau2 = 0.2 # deactivation
netParams.popParams['FR'] = {'cellType': 'FR', 'numCells': 2, 'cellModel': 'HH3D'}
cellRule0 = netParams.importCellParams(label = 'FR',conds={'cellType': 'FR', 'cellModel': 'HH3D'}, fileName= 'FRcellTemplate.hoc', cellName='FR_Cell',importSynMechs=False)
netParams.cellParams['FRrule'] = cellRule0
netParams.synMechParams['FR_syn'] = {'mod': 'Exp2Syn', 'tau1': R_SysISyn_tau1, 'tau2': R_SysISyn_tau2, 'e': R_SysISyn_Erev}
netParams.stimSourceParams['stim1'] = {'type': 'NetStim', 'interval': 1000/SysIVibrationFreq , 'number': SysITimeofVibration*SysIVibrationFreq/1000, 'start': STARTTIME , 'noise': 0}
netParams.stimTargetParams['stim1->FR'] = {'source': 'stim1', 'conds': {'cellType': 'FR'} ,'weight': 1,'sec':'all','synPerConn':??? , 'delay': 1, 'synMech': 'FR_syn'}
I want to ask also if there is a way i can set the total conductance of these synapses.
Thanks