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

Allow generic stimulations to be specified with stimSourceParams #637

Closed joewgraham closed 2 years ago

joewgraham commented 2 years ago

Currently, the only stimulations that can be specified in NetPyNE are the builtin NEURON stims. It would be useful to allow any valid stim mod file to be specified with stimSourceParams instead of inserting a point process.

See this forum conversation for more details: https://groups.google.com/g/netpyne-forum/c/hfkLyvuoV_g

joewgraham commented 2 years ago

This already existed, just there was a bug in properly loading the exotic stim parameters/values. Fixed with this commit: https://github.com/Neurosim-lab/netpyne/commit/4305ba7243aa34d4fe6c74cfa1a0137a688392dd