suny-downstate-medical-center / netpyne

A Python package to facilitate the development, parallel simulation, optimization and analysis of multiscale biological neuronal networks in NEURON.
http://www.netpyne.org
MIT License
143 stars 134 forks source link

Ensure default values in cell params geom and biophysics #130

Open pgleeson opened 8 years ago

pgleeson commented 8 years ago

cm is missing here for example: https://github.com/Neurosim-lab/netpyne/blob/master/examples/HybridTut/HybridTut.py#L36

Ideally a default value should be added for each once the params are loaded in so they can always be accessed later with secs.soma.geom.cm etc.

salvadord commented 8 years ago
salvadord commented 7 years ago

add in cell.createNEURONObj() function by iterating over all params of the mech (use utils.mechVarList) and adding missing params with Neuron default value