Search found 1 match

by genis
Mon Oct 23, 2023 3:54 pm
Forum: NEURON + Python
Topic: Dealing with objects defined in functions
Replies: 1
Views: 11967

Dealing with objects defined in functions

Hi, I would like to create a simple function that given a population of neurons, it creates the neuron objects to records its spikes. However, when I put the code in a functions it does not record the spikes but if I run the same code in the main script it actually records the spikes. What is the be...