Skip to content

Commit d0bf488

Browse files
committed
compare nml and netpy
1 parent 67893bc commit d0bf488

12 files changed

+800065
-600090
lines changed

NeuroML2/compare_MC/RE/LEMS_RE_reduced_cell_step_test.xml

Lines changed: 0 additions & 40 deletions
This file was deleted.

NeuroML2/compare_MC/RE/RE_netpy.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
soma['mechs']['pas'] = {'g': 5e-5, 'e': -77}
1414
soma['mechs']['cadad'] = {'cainf': 0.00024, 'depth': 1, 'kd': 0.0, 'kt': 0.0, 'taur': 5}
1515
# 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}
1717
soma['mechs']['hh2ad'] = {"gkbar": 0.01,"gnabar": 0.09,"vtraub": -50.0}
1818

1919

@@ -25,7 +25,7 @@
2525

2626
netParams.popParams['RE'] = {'cellType': 'RE_HH_reduced', 'numCells': 1}
2727

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}
2929
netParams.stimTargetParams['Input->RE'] = {'source': 'Input', 'sec': 'soma', 'loc': 0.5, 'conds': {'cellType': 'RE_HH_reduced'}}
3030
netParams.defaultThreshold = 5.0
3131
# Simulation options
@@ -37,11 +37,11 @@
3737
simConfig.dt = 0.01
3838
# Internal integration timestep to use
3939
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
4141
simConfig.recordStep = 0.01 # Step size in ms to save data (eg. V traces, LFP, etc)
4242
simConfig.filename = 'RE_reduced_all' # Set file output name
4343
simConfig.savePickle = False # Save params, network and sim output to pickle file
44-
simConfig.saveDataInclude = ['simData']
44+
simConfig.saveDataInclude = ['simData']
4545
simConfig.saveJson = True
4646
simConfig.analysis['plotTraces'] = {'include': [0], 'saveFig': True} # Plot recorded traces for this list of cells
4747
simConfig.analysis['plotRaster'] = {'saveFig': True} # Plot a raster

0 commit comments

Comments
 (0)