|
13 | 13 | soma['mechs']['pas'] = {'g': 5e-5, 'e': -77} |
14 | 14 | soma['mechs']['cadad'] = {'cainf': 0.00024, 'depth': 1, 'kd': 0.0, 'kt': 0.0, 'taur': 5} |
15 | 15 | # soma['mechs']['kl'] = {'gmax': 3e-06} |
16 | | -# soma['mechs']['itre'] = {"gmax": 0.002,"shift": 2.0} |
| 16 | +soma['mechs']['itre'] = {"gmax": 0.002,"shift": 2.0} |
17 | 17 | soma['mechs']['hh2ad'] = {"gkbar": 0.01,"gnabar": 0.09,"vtraub": -50.0} |
18 | 18 |
|
19 | 19 |
|
|
25 | 25 |
|
26 | 26 | netParams.popParams['RE'] = {'cellType': 'RE_HH_reduced', 'numCells': 1} |
27 | 27 |
|
28 | | -netParams.stimSourceParams['Input'] = {'type': 'IClamp', 'dur': 1600, 'del': 200, 'amp': 0.2} |
| 28 | +netParams.stimSourceParams['Input'] = {'type': 'IClamp', 'dur': 1600, 'del': 200, 'amp': 0.02} |
29 | 29 | netParams.stimTargetParams['Input->RE'] = {'source': 'Input', 'sec': 'soma', 'loc': 0.5, 'conds': {'cellType': 'RE_HH_reduced'}} |
30 | 30 | netParams.defaultThreshold = 5.0 |
31 | 31 | # Simulation options |
|
37 | 37 | simConfig.dt = 0.01 |
38 | 38 | # Internal integration timestep to use |
39 | 39 | simConfig.verbose = True # Show detailed messages |
40 | | -simConfig.recordTraces = {'V_soma':{'sec':'soma','loc':0.5,'var':'v'}, 'gNa':{'sec': 'soma', 'loc': 0.5, 'mech': 'hh2ad', 'var': 'inahh2'},'m':{'sec': 'soma', 'loc': 0.5, 'mech': 'hh2ad', 'var': 'm'}} # Dict with traces to record |
| 40 | +simConfig.recordTraces = {'V_soma':{'sec':'soma','loc':0.5,'var':'v'}, 'm':{'sec': 'soma', 'loc': 0.5, 'mech': 'itre', 'var': 'm'},'h':{'sec': 'soma', 'loc': 0.5, 'mech': 'itre', 'var': 'h'}} # Dict with traces to record |
41 | 41 | simConfig.recordStep = 0.01 # Step size in ms to save data (eg. V traces, LFP, etc) |
42 | 42 | simConfig.filename = 'RE_reduced_all' # Set file output name |
43 | 43 | simConfig.savePickle = False # Save params, network and sim output to pickle file |
44 | | -simConfig.saveDataInclude = ['simData'] |
| 44 | +simConfig.saveDataInclude = ['simData'] |
45 | 45 | simConfig.saveJson = True |
46 | 46 | simConfig.analysis['plotTraces'] = {'include': [0], 'saveFig': True} # Plot recorded traces for this list of cells |
47 | 47 | simConfig.analysis['plotRaster'] = {'saveFig': True} # Plot a raster |
|
0 commit comments