Accessing neuron vectors stored in a python list
Posted: Thu Mar 22, 2018 7:44 pm
I am trying to access neuron vector objects stored in a python list that have recorded the conductances at a synapse ( syn is a list of mod objects in code below). I cannot figure out how to access them from the list so that I can sum them up and plot the trace. The code I have to create the list is shown below. The simple case of creating one vector and using record on it works just fine and I'm able to plot the results. I've been looking for examples of something similar but I'm coming up short.
Code: Select all
syn_g_rec_list =  for i in range(len(syn)): syn_g_rec_list.append(h.Vector().record(syn[i]._ref_g,1))