# Science, Projects, and Showcases

**URL:** https://brian.discourse.group/c/science/7.md?page=1

[Latest](https://brian.discourse.group/latest.md) · [Categories](https://brian.discourse.group/categories.md) · [Tags](https://brian.discourse.group/tags.md)

**Page:** 2

---

## [Pattern recognition in Spiking Neural Nets using Brian2](https://brian.discourse.group/t/pattern-recognition-in-spiking-neural-nets-using-brian2/141)

<div class="topic-metadata">

**Author:** [@touches](https://brian.discourse.group/u/touches)\
**Replies:** 15\
**Last updated:** [31 January 2024 05:12 UTC](https://brian.discourse.group/t/pattern-recognition-in-spiking-neural-nets-using-brian2/141 "2024-01-31T05:12:54Z")

</div>

Hello Brian2 users, In order to learn Brian2 and build more efficient Spiking Neuron models, I would like to work on implementing simple neuron models used for pattern recognition from research papers. This would benefi…

---

## [Model sharing formats, is SONATA supported?](https://brian.discourse.group/t/model-sharing-formats-is-sonata-supported/1107)

<div class="topic-metadata">

**Author:** [@sivanni](https://brian.discourse.group/u/sivanni)\
**Replies:** 1\
**Last updated:** [4 January 2024 12:28 UTC](https://brian.discourse.group/t/model-sharing-formats-is-sonata-supported/1107 "2024-01-04T12:28:09Z")

</div>

Dear Brian Community, I am reading Eriksson et al. eLife 2022;11:e69013. DOI: Combining hypothesis- and data-driven neuroscience modeling in FAIR workflows | eLife In their Table 3 Brian is said to support SONATA inter…

---

## [Custom STDP rule](https://brian.discourse.group/t/custom-stdp-rule/1091)

<div class="topic-metadata">

**Author:** [@mallard1707](https://brian.discourse.group/u/mallard1707)\
**Replies:** 3\
**Last updated:** [10 December 2023 09:20 UTC](https://brian.discourse.group/t/custom-stdp-rule/1091 "2023-12-10T09:20:20Z")

</div>

Hi, I am trying to implement the following STDP learning rule in brian2 between 2 groups of LIF neurons (784x400): I have completed the implementation of the STDP part that updates w as follows: from brian2 import …

---

## [Checking neuron perfomance](https://brian.discourse.group/t/checking-neuron-perfomance/1042)

<div class="topic-metadata">

**Author:** [@atiye-nejad](https://brian.discourse.group/u/atiye-nejad)\
**Replies:** 1\
**Last updated:** [9 August 2023 12:56 UTC](https://brian.discourse.group/t/checking-neuron-perfomance/1042 "2023-08-09T12:56:27Z")

</div>

Hi all, I am new at Brian, and I have a question about the neuron model I made. what should I do to become sure my neuron model is working properly? I mean I should compare which graphs to become sure the neuron is work…

---

## [Changing stimuli programmatically in C++ standalone](https://brian.discourse.group/t/changing-stimuli-programmatically-in-c-standalone/748)

<div class="topic-metadata">

**Author:** [@mstimberg](https://brian.discourse.group/u/mstimberg)\
**Replies:** 17\
**Last updated:** [27 June 2023 13:21 UTC](https://brian.discourse.group/t/changing-stimuli-programmatically-in-c-standalone/748 "2023-06-27T13:21:15Z")

</div>

Following up the discussion with @DavidKing2020 in User-provided function in run\_regularly, here’s a little example showing that you can include rather complex programming logic in C++ standalone mode, with only basic Br…

---

## [Looking for Ri in the Soma equations](https://brian.discourse.group/t/looking-for-ri-in-the-soma-equations/1012)

<div class="topic-metadata">

**Author:** [@gmarthe](https://brian.discourse.group/u/gmarthe)\
**Replies:** 1\
**Last updated:** [15 June 2023 14:19 UTC](https://brian.discourse.group/t/looking-for-ri-in-the-soma-equations/1012 "2023-06-15T14:19:04Z")

</div>

Hello, I am a PhD Student in France, and I worked on a neuron/synapse model that a Brian2 user has sent to me a few months ago and I wanted to determined the membrane voltage equations of the model I am using. My issue…

---

## [Questions Regarding the Spatial Neuron Formula](https://brian.discourse.group/t/questions-regarding-the-spatial-neuron-formula/974)

<div class="topic-metadata">

**Author:** [@hunjunlee](https://brian.discourse.group/u/hunjunlee)\
**Replies:** 8\
**Last updated:** [31 May 2023 09:37 UTC](https://brian.discourse.group/t/questions-regarding-the-spatial-neuron-formula/974 "2023-05-31T09:37:22Z")

</div>

Hi, I have a question regarding the spatial neuron. I cannot understand how you derived the equation related to the coupling system. What does u\_plus and u\_minus indicate and what does P matrix refer to? Thanks.

---

## [Memristor stdp rule](https://brian.discourse.group/t/memristor-stdp-rule/906)

<div class="topic-metadata">

**Author:** [@serge25](https://brian.discourse.group/u/serge25)\
**Replies:** 4\
**Last updated:** [28 February 2023 15:16 UTC](https://brian.discourse.group/t/memristor-stdp-rule/906 "2023-02-28T15:16:21Z")

</div>

Hello, everybody! Can anybody help me with understanding of implementation of memristor-like stdp rule at Brian2. Link to the article with equations Modeling the Dynamics of Spiking Networks with Memristor-Based ST…

---

## [What is generally considered during simulation?](https://brian.discourse.group/t/what-is-generally-considered-during-simulation/868)

<div class="topic-metadata">

**Author:** [@Bolloknoon](https://brian.discourse.group/u/Bolloknoon)\
**Replies:** 2\
**Last updated:** [23 January 2023 20:43 UTC](https://brian.discourse.group/t/what-is-generally-considered-during-simulation/868 "2023-01-23T20:43:34Z")

</div>

Hello , I would ask about general protocol of simulation on computational neuroscience to verifying biological experiments. Especially, what should I consider on simulating some population model to compare between mode…

---

## [KeyError: 'The identifier "astrocyte\_index\_post" could not be resolved.'](https://brian.discourse.group/t/keyerror-the-identifier-astrocyte-index-post-could-not-be-resolved/820)

<div class="topic-metadata">

**Author:** [@amanforthepeople](https://brian.discourse.group/u/amanforthepeople)\
**Replies:** 11\
**Last updated:** [2 December 2022 11:02 UTC](https://brian.discourse.group/t/keyerror-the-identifier-astrocyte-index-post-could-not-be-resolved/820 "2022-12-02T11:02:22Z")

</div>

I plan to build this astrocyte-neuron network and keep running into some errors. There is probably something that I am overlooking. Also sidebar, I would like to meet virtually with someone to discuss brian2, my proje…

---

## [Network dynamics visualizer?](https://brian.discourse.group/t/network-dynamics-visualizer/828)

<div class="topic-metadata">

**Author:** [@galen](https://brian.discourse.group/u/galen)\
**Replies:** 20\
**Last updated:** [22 November 2022 18:23 UTC](https://brian.discourse.group/t/network-dynamics-visualizer/828 "2022-11-22T18:23:01Z")

</div>

Hi, Has anyone made a visualizer, using this as a backend, that shows the network and states of the nodes over time? thanks in advance

---

## [Implementation of Izhikevich neuron model](https://brian.discourse.group/t/implementation-of-izhikevich-neuron-model/578)

<div class="topic-metadata">

**Author:** [@lann591](https://brian.discourse.group/u/lann591)\
**Replies:** 18\
**Last updated:** [10 October 2022 13:10 UTC](https://brian.discourse.group/t/implementation-of-izhikevich-neuron-model/578 "2022-10-10T13:10:16Z")

</div>

The Izhikevich neuron model is a 2d system of ODEs, one for the membrane potential and then a reset variable u. In its definition, both v and u have reset values. From what I have done in the past, and what I could find,…

---

## [Implementation of stochastic noise in a Hodgkin-Huxley model but as a current](https://brian.discourse.group/t/implementation-of-stochastic-noise-in-a-hodgkin-huxley-model-but-as-a-current/787)

<div class="topic-metadata">

**Author:** [@nvar](https://brian.discourse.group/u/nvar)\
**Replies:** 11\
**Last updated:** [7 October 2022 09:54 UTC](https://brian.discourse.group/t/implementation-of-stochastic-noise-in-a-hodgkin-huxley-model-but-as-a-current/787 "2022-10-07T09:54:26Z")

</div>

Hi all! As the title suggests, I am curious if anyone has coded a model using stochastic noise as a current instead of a voltage. The provided example G = NeuronGroup(10, 'dv/dt = -v/tau + sigma\*sqrt(2/tau)\*xi : volt') …

---

## [Brian2 on iPad or iPhone](https://brian.discourse.group/t/brian2-on-ipad-or-iphone/792)

<div class="topic-metadata">

**Author:** [@rth](https://brian.discourse.group/u/rth)\
**Replies:** 3\
**Last updated:** [3 October 2022 18:49 UTC](https://brian.discourse.group/t/brian2-on-ipad-or-iphone/792 "2022-10-03T18:49:57Z")

</div>

Hello all, I recently came across a wonderful app for iPhone or iPad, call Carnets or, better CarnetsSci with scipy and numpy preinstalled. On the GitHub page of this project, the author noted that you can install a…

---

## [PCA on spike data and ML on Brian neurons](https://brian.discourse.group/t/pca-on-spike-data-and-ml-on-brian-neurons/784)

<div class="topic-metadata">

**Author:** [@lann591](https://brian.discourse.group/u/lann591)\
**Replies:** 0\
**Last updated:** [16 September 2022 04:22 UTC](https://brian.discourse.group/t/pca-on-spike-data-and-ml-on-brian-neurons/784 "2022-09-16T04:22:44Z")

</div>

Hello, I am currently working on a model of the primary motor cortex (built with brian) and have been producing some spontanoues(ish) activity (driven from thalamic inputs). I was wondering if anyone has used or experim…

---

## [The Use of Hebbian Cell Assemblies for Nonlinear Computation](https://brian.discourse.group/t/the-use-of-hebbian-cell-assemblies-for-nonlinear-computation/777)

<div class="topic-metadata">

**Author:** [@schmitts](https://brian.discourse.group/u/schmitts)\
**Replies:** 0\
**Last updated:** [5 September 2022 13:39 UTC](https://brian.discourse.group/t/the-use-of-hebbian-cell-assemblies-for-nonlinear-computation/777 "2022-09-05T13:39:13Z")

</div>

Hi! Here I’ve reproduced a result from the paper The Use of Hebbian Cell Assemblies for Nonlinear Computation. It shows have to use Brian2 also for non-spiking computational neuroscience. Cheers, Sebastian

---

## [Reproducing "Large-scale model of mammalian thalamocortical systems" by E.M. Izhikevich in Brian2](https://brian.discourse.group/t/reproducing-large-scale-model-of-mammalian-thalamocortical-systems-by-e-m-izhikevich-in-brian2/774)

<div class="topic-metadata">

**Author:** [@aesagtekin](https://brian.discourse.group/u/aesagtekin)\
**Replies:** 4\
**Last updated:** [2 September 2022 15:14 UTC](https://brian.discourse.group/t/reproducing-large-scale-model-of-mammalian-thalamocortical-systems-by-e-m-izhikevich-in-brian2/774 "2022-09-02T15:14:36Z")

</div>

I opened this topic in the Brian forum since I have tried reproducing the article in Brian2. But my question is probably not very relevant to this forum. If you have any suggestions about where to ask these questions, pl…

---

## [CLEOSim: inject optogenetics, electrodes, and closed-loop control into your Brian simulation!](https://brian.discourse.group/t/cleosim-inject-optogenetics-electrodes-and-closed-loop-control-into-your-brian-simulation/759)

<div class="topic-metadata">

**Author:** [@kjohnsen](https://brian.discourse.group/u/kjohnsen)\
**Replies:** 1\
**Last updated:** [1 September 2022 14:08 UTC](https://brian.discourse.group/t/cleosim-inject-optogenetics-electrodes-and-closed-loop-control-into-your-brian-simulation/759 "2022-09-01T14:08:36Z")

</div>

I’m excited to finally share CLEOSim with the Brian community! CLEO refers to Closed Loop (control), Electrodes, and Optogenetics. I’ve tried to make it as pain-free as possible to add these things to an existing Brian m…

---

## [Izhikevich 2003 implementation in docs](https://brian.discourse.group/t/izhikevich-2003-implementation-in-docs/763)

<div class="topic-metadata">

**Author:** [@elias](https://brian.discourse.group/u/elias)\
**Replies:** 2\
**Last updated:** [8 August 2022 17:20 UTC](https://brian.discourse.group/t/izhikevich-2003-implementation-in-docs/763 "2022-08-08T17:20:21Z")

</div>

The implementation of Izhikevich 2003 model provided in the Brian2 documentation uses a multiple pathway for the synapses: S = Synapses( N, N, "w : 1", on\_pre={"up": "I += w", "down": "I -= w"}, dela…

---

## [An experiment simulator with electrode and optogenetics modules](https://brian.discourse.group/t/an-experiment-simulator-with-electrode-and-optogenetics-modules/414)

<div class="topic-metadata">

**Author:** [@kjohnsen](https://brian.discourse.group/u/kjohnsen)\
**Replies:** 1\
**Last updated:** [2 August 2022 16:32 UTC](https://brian.discourse.group/t/an-experiment-simulator-with-electrode-and-optogenetics-modules/414 "2022-08-02T16:32:53Z")

</div>

Hello! I’m Kyle, a PhD student under Chris Rozell at Georgia Tech, working on closed-loop control methods for neuroscience. I thought I’d share what I’m doing here in case anyone is interested or knows of existing code t…

---

## [Is there a way to monitor the \_average\_ membrane potential of a group of neurons?](https://brian.discourse.group/t/is-there-a-way-to-monitor-the-average-membrane-potential-of-a-group-of-neurons/658)

<div class="topic-metadata">

**Author:** [@nvar](https://brian.discourse.group/u/nvar)\
**Replies:** 1\
**Last updated:** [20 July 2022 14:59 UTC](https://brian.discourse.group/t/is-there-a-way-to-monitor-the-average-membrane-potential-of-a-group-of-neurons/658 "2022-07-20T14:59:05Z")

</div>

Hi all! As the title suggests, I am looking into a way to monitor the average membrane potential for a group of neurons. The problem I am facing is the large size of the network; it is very inefficient to record from all…

---

## [Turning current on and off and connecting it into a subpopulation of neurons](https://brian.discourse.group/t/turning-current-on-and-off-and-connecting-it-into-a-subpopulation-of-neurons/740)

<div class="topic-metadata">

**Author:** [@Hedyeh](https://brian.discourse.group/u/Hedyeh)\
**Replies:** 4\
**Last updated:** [15 July 2022 07:10 UTC](https://brian.discourse.group/t/turning-current-on-and-off-and-connecting-it-into-a-subpopulation-of-neurons/740 "2022-07-15T07:10:43Z")

</div>

Hi there, I am trying to define a code which turns an input current (Ornstein-Uhlenbeck process) on and off at specific times, and connect it to a small specific subpopulation of neuron group E with a specific weight: E…

---

## [Problem with biexponential synaptic currents: no currents recorded](https://brian.discourse.group/t/problem-with-biexponential-synaptic-currents-no-currents-recorded/737)

<div class="topic-metadata">

**Author:** [@Hedyeh](https://brian.discourse.group/u/Hedyeh)\
**Replies:** 10\
**Last updated:** [8 July 2022 07:10 UTC](https://brian.discourse.group/t/problem-with-biexponential-synaptic-currents-no-currents-recorded/737 "2022-07-08T07:10:17Z")

</div>

Dear all, I have problem with implementing biexponential synaptic currents. Actually, no synaptic currents has been recorded. In case I use s\_GABA\_rec\_tot\_post, the error I get is: s\_GABA\_rec\_tot\_post cannot be used as …

---

## [Magic Network-Magic Error](https://brian.discourse.group/t/magic-network-magic-error/711)

<div class="topic-metadata">

**Author:** [@amanforthepeople](https://brian.discourse.group/u/amanforthepeople)\
**Replies:** 4\
**Last updated:** [7 June 2022 23:56 UTC](https://brian.discourse.group/t/magic-network-magic-error/711 "2022-06-07T23:56:28Z")

</div>

Hey Brian Family, I had a quick question about creating a Magic network because I keep raising a Magic error. I suppose brian is not sure about the run command but I am not sure how to create a magic network to rid this…

---

## [Https://brian.discourse.group/t/about-the-social-category/19](https://brian.discourse.group/t/https-brian-discourse-group-t-about-the-social-category-19/709)

<div class="topic-metadata">

**Author:** [@Shavika](https://brian.discourse.group/u/Shavika)\
**Replies:** 0\
**Last updated:** [6 June 2022 12:00 UTC](https://brian.discourse.group/t/https-brian-discourse-group-t-about-the-social-category-19/709 "2022-06-06T12:00:58Z")

</div>

Description of problem Hi everyone ! I want to provide a noisy sine wave to a population of neurons in Brian2. As the noise is random, I want to inject different versions of noisy sine wave of same SNR as current to di…

---

## [Brian running locally in the browser via Javascript using pyodide](https://brian.discourse.group/t/brian-running-locally-in-the-browser-via-javascript-using-pyodide/20)

<div class="topic-metadata">

**Author:** [@dan](https://brian.discourse.group/u/dan)\
**Replies:** 11\
**Last updated:** [6 May 2022 15:27 UTC](https://brian.discourse.group/t/brian-running-locally-in-the-browser-via-javascript-using-pyodide/20 "2022-05-06T15:27:54Z")

</div>

Check out this cool demo of Brian running in the browser using Javascript. It uses the Pyodide package. For the moment it’s a bit clunky but we think this could be a cool low maintenance tool for teaching Brian or comput…

---

## [Trouble with physical units at neuron model](https://brian.discourse.group/t/trouble-with-physical-units-at-neuron-model/651)

<div class="topic-metadata">

**Author:** [@serge25](https://brian.discourse.group/u/serge25)\
**Replies:** 5\
**Last updated:** [14 April 2022 18:24 UTC](https://brian.discourse.group/t/trouble-with-physical-units-at-neuron-model/651 "2022-04-14T18:24:56Z")

</div>

Hello, everybody! I’m trying to implement at Brian2 neuron model proposed by Komendatov and Kononenko (equations with parameters at this article Effects of Synaptic Time Constant on Firing Activities of a minimal Centra…

---

## [Input signal for neural network](https://brian.discourse.group/t/input-signal-for-neural-network/611)

<div class="topic-metadata">

**Author:** [@serge25](https://brian.discourse.group/u/serge25)\
**Replies:** 21\
**Last updated:** [14 April 2022 06:47 UTC](https://brian.discourse.group/t/input-signal-for-neural-network/611 "2022-04-14T06:47:04Z")

</div>

Hello, everybody! How can the following case be implemented in the simulator. An image is taken (a number on a white background), for example, 25 \* 25 pixels in size. Further, each pixel is binarized from 0 to 1, where …

---

## [Inhibitory STDP (Borges 2017 equations)](https://brian.discourse.group/t/inhibitory-stdp-borges-2017-equations/646)

<div class="topic-metadata">

**Author:** [@nvar](https://brian.discourse.group/u/nvar)\
**Replies:** 2\
**Last updated:** [13 April 2022 09:10 UTC](https://brian.discourse.group/t/inhibitory-stdp-borges-2017-equations/646 "2022-04-13T09:10:16Z")

</div>

Hello all! As the title suggests, I am trying to implement the plasticity for the inhibitory synapses using the equations from the paper cited. The equation for the excitatory synapses was easy enough to adapt, it is ver…

---

## [Spiking neural network for time-series prediction](https://brian.discourse.group/t/spiking-neural-network-for-time-series-prediction/644)

<div class="topic-metadata">

**Author:** [@diogohmsilva](https://brian.discourse.group/u/diogohmsilva)\
**Replies:** 0\
**Last updated:** [30 March 2022 12:02 UTC](https://brian.discourse.group/t/spiking-neural-network-for-time-series-prediction/644 "2022-03-30T12:02:11Z")

</div>

Hello, I’ve been trying to use Brian2 to implement a SNN capable of classifying time series. Until now I have used the MNIST dataset (for no special reason). Instead of designing a network with the typical 748 inputs (2…

[Previous page](https://brian.discourse.group/c/science/7.md)

[Next page](https://brian.discourse.group/c/science/7.md?page=2)
