-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
| <DerivedVariable name="t" exposure="t" dimension="time" value="(0.34 + 0.92 * (exp (-1 *((V+81)/59)^2))) * TIME_SCALE"/> |
When evaluating this using pyneuroml, I am getting the following error:
unsupported operand type(s) for ^: 'float' and 'int'
pyNeuroML >>> v = -0.15
pyNeuroML >>> vShift = 0.0
pyNeuroML >>> temperature = 307.15
pyNeuroML >>> TIME_SCALE = 0.001
pyNeuroML >>> VOLT_SCALE = 0.001
pyNeuroML >>> V = v / VOLT_SCALE
pyNeuroML >>> return_vals["V"] = V
pyNeuroML >>> t = (0.34 + 0.92 * (exp (-1 *((V+81)/59)^2))) * TIME_SCALE
pyNeuroML >>> return_vals["t"] = t
pyNeuroML >>>
Traceback (most recent call last):
Metadata
Metadata
Assignees
Labels
No labels