Search found 7 matches

by psipeter
Fri Jan 25, 2019 5:06 pm
Forum: Modeling networks
Topic: Running secondary networks in isolation
Replies: 11
Views: 1966

Re: Running secondary networks in isolation

Thanks for the quick patch. I'm having some trouble iterating through all the sections in a cell and setting sec.simulate(0) for each of them. This code works fine: import neuron import numpy as np soma = neuron.h.Section() dend = neuron.h.Section() dend.connect(soma(1)) v_rec = neuron.h.Vector() v_...
by psipeter
Thu Jan 24, 2019 10:09 am
Forum: Modeling networks
Topic: Running secondary networks in isolation
Replies: 11
Views: 1966

Re: Running secondary networks in isolation

Fantastic, thanks so much for taking a look at this! The python idiom you sketched would be perfect for my purposes. Keep me posted on updates, and I'll do the same for the Nengo implementation if/when the NoSimulate feature becomes active.
by psipeter
Thu Jan 24, 2019 12:47 am
Forum: Modeling networks
Topic: Running secondary networks in isolation
Replies: 11
Views: 1966

Re: Running secondary networks in isolation

Haha, well you’re probably unaware of the nengo-NEURON interface because the only one working on this project is...me :) Let me actually introduce myself - I’m Peter Duggins (psipeter@gmail.com), a 2nd year PhD student in Chris Eliasmith’s lab. As part of my masters thesis (also with Chris), I devel...
by psipeter
Wed Jan 23, 2019 5:17 pm
Forum: Modeling networks
Topic: Running secondary networks in isolation
Replies: 11
Views: 1966

Re: Running secondary networks in isolation

You’re correct that the solution I’m proposing is to save the relevant optimized info (connection weights) for later use in the simulation proper. The problem with this solution isn’t that this information is too large, or that creation/destruction of portions of the network is too expensive. It’s t...
by psipeter
Wed Jan 23, 2019 12:38 pm
Forum: Modeling networks
Topic: Running secondary networks in isolation
Replies: 11
Views: 1966

Re: Running secondary networks in isolation

Thanks for the rapid response. I had previously considered the build/teardown approach, and in fact I use it for a preliminary optimization elsewhere in my code. However, the ordering of the Nengo build process makes this quite problematic in the current context. In Nengo, each ensemble is populated...
by psipeter
Tue Jan 22, 2019 2:28 pm
Forum: Modeling networks
Topic: Running secondary networks in isolation
Replies: 11
Views: 1966

Running secondary networks in isolation

I am running NEURON with Python within the context of another neural simulator, Nengo. The ordering of the build process in Nengo requires that I create all the NEURON objects (cells from hoc template, NetCons, etc.) at an early stage. Later in the build process, I temporarily create isolated popula...
by psipeter
Thu Mar 30, 2017 11:12 am
Forum: Getting started
Topic: Recording the total input current to the soma
Replies: 5
Views: 6996

Re: Recording the total input current to the soma

Hi Ted, I have a few follow-up questions. Briefly, I’m trying to do the same thing Aaron was doing - i.e. probe the current flowing into the somatic compartment (nseg=1) from the dendritic tree, which in our NEURON model is a single dendritic compartment (nseg=5). I’m interested in comparing the beh...