Using equations encapsulated in class objects

26 views
Skip to first unread message

Louis Johnson

unread,
Nov 2, 2022, 8:29:14 PM11/2/22
to Brian
Hi Brian folk,

I'm working on a class project that utilizes Izhikevich neurons connected by alpha synapses in Brian2. The package works great, but I have a separate script that generates groups of these neurons in a class initializer (e.g. an Animal that has attributes in the form of neuron groups known as LeftEye and RightEye).

I've been trying to run a simulation with this design but am running into issues with the Network running in the background. I tried passing in the objects containing the equations to the Network (e.g. Animal1.LeftEye) but this didn't work. The Network simply can't see the equations defined.

Is there a way I can get the scope to see these equations?

Thank you,
LJ

MARCEL STIMBERG

unread,
Nov 3, 2022, 1:40:29 PM11/3/22
to Brian, Louis Johnson

Hi,

could you please send your question to https://brian.discourse.group –this mailing list here is no longer actively used. And ideally, could you give a small (simplified) example that shows your problem?

Thanks, best

  Marcel

brian.discourse.group
Community for the Brian spiking neural network simulator.


De : brians...@googlegroups.com <brians...@googlegroups.com> de la part de Louis Johnson <ilja...@gmail.com>
Envoyé : jeudi 3 novembre 2022 01:29:14
À : Brian
Objet : [Brian] Using equations encapsulated in class objects
 
--
http://www.facebook.com/briansimulator
https://twitter.com/briansimulator
 
Please cite Brian 2: Stimberg M, Brette R, Goodman DFM (2019). Brian 2, an intuitive and efficient neural simulator. eLife, doi: 10.7554/eLife.47314.
---
You received this message because you are subscribed to the Google Groups "Brian" group.
To unsubscribe from this group and stop receiving emails from it, send an email to briansupport...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/briansupport/4b19c0ad-ee1a-48b4-b8a7-58fcdd4efdd4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages