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
146 stars 137 forks source link

Batch #826

Closed jchen6727 closed 3 months ago

jchen6727 commented 3 months ago

update batch re: end user suggestion

can now initialize cfg with a dictionary:

from netpyne.batchtools import specs
cfg = specs.SimConfig({'x': [None] * 4})

creates a new cfg such that it already has value x, e.g.

cfg.x = [None, None, None, None]

update to documentation with some minimal working examples (see https://github.com/suny-downstate-medical-center/netpyne/tree/batch/netpyne/batchtools/examples), esp. Rosenbrock w/ coupled parameters, nested parameters, etc.