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
148 stars 138 forks source link

Batch simulation / parameter optimization (possibly using CFG format) #108

Closed samnemo closed 6 years ago

samnemo commented 8 years ago

For large batches of simulations I find it useful to use Python's ConfigFile writer/reader - then my python code reads and generates cfg files with parameter sweeps (for example see /u/samn/m1dyst/conf.py , /u/samn/m1dyst/batch.py ) ... this may be easier than writing all parameters in a .py file - since config file is generally flat (with sections) and is therefore easier to generate cfg file easily (+Python supports this). Could such a feature be integrated with NetPyne? Yes, but does it fit NetPyne's design philosophy?

salvadord commented 8 years ago

I'm planning on providing some code for batch sims / param optimization using netpyne -- not sure yet if makes sense to integrate with netpyne, or provide as some example wrapper code. I've seenn your CFG code so that, or a variation of it, could definitely be used.

salvadord commented 8 years ago
salvadord commented 8 years ago

useful links: