Although the models, both full 1088 compartment and reduced two compartment models run it does not appear to run correctly. For example,
from executive import ExecutiveControl
from models.cells.modelPC2015aForrest import PurkinjeCell
#from models.cells.modelPC2015bForrest import PurkinjeCell
from cerebunit.capabilities.cells.measurements import ProducesEphysMeasurement
runtimeparam = {"dt": 0.025, "celsius": 30, "tstop": 1000.0, "v_init": -80.}
stimparam = {"type": ["current", "IClamp"],
"stimlist": [ {"amp": 0.006, "dur": 800.0, "delay": 100.0} ],
"tstop": runtimeparam["tstop"] }
ec = ExecutiveControl()
ec.chosenmodel = PurkinjeCell()
model = ec.launch_model( parameters = runtimeparam, stimparameters = stimparam,
stimloc = ec.chosenmodel.cell.soma, onmodel = ec.chosenmodel,
capabilities = {"model": "produce_restingVm",
"vtest": ProducesEphysMeasurement},
mode = "capability" )
>>> model.prediction
[array([nan]) * mV, array([nan]) * mV]
Although the models, both full 1088 compartment and reduced two compartment models run it does not appear to run correctly. For example,
and then