ArticleslgStudy

computer science

Brian (software)

Brian (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Brian (software) rather than just read about it. In short: Brian is an open source Python package for developing simulations of networks of spiking neurons. Details Brian is aimed at researchers developing models based on networks of spiking neurons.

Brian (software) — main illustration
Brian (software) — illustration

Key takeaways

  • Brian (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Brian (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Brian (software) from memory before moving on to harder problems.

Reference excerpt

Brian is an open source Python package for developing simulations of networks of spiking neurons.

Details Brian is aimed at researchers developing models based on networks of spiking neurons. The general design is aimed at maximising flexibility, simplicity and users' development speed. Users specify neuron models by giving their differential equations in standard mathematical form as strings, create groups of neurons and connect them via synapses. This is in contrast to the approach taken by many neural simulators in which users select from a predefined set of neuron models. Brian is written in Python. Computationally, it is based around the concept of code generation: users specify the model in Python but behind the scenes Brian generates, compiles and runs code in one of several languages (including Python, Cython and C++). In addition there is a "standalone" mode in which Brian generates an entire C++ source code tree with no dependency on Brian, allowing models to be run on platforms where Python is not available.

Example The following code defines, runs and plots a randomly connected network of leaky integrate and fire neurons with exponential inhibitory and excitatory currents.

Comparison to other simulators Brian is primarily, although not solely, aimed at single compartment neuron models. Simulators focused on multi-compartmental models include Neuron, GENESIS, and its derivatives. The focus of Brian is on flexibility and ease of use, and only supports simulations running on a single machine. The NEST simulator includes facilities for distributing simulations across a cluster.

Awards 2023 Open Science Award for Open Source Research Software in the category "Documentation"

Footnotes

References Goodman, D.; Brette, R. (2008). "Brian: a simulator for spiking neural networks in Python". Front. Neuroinform. 2: 5. doi:10.3389/neuro.11.005.2008. PMC 2605403. PMID 19115011. Goodman, D.F.M.; Brette, R. (2009). "The Brian simulator". Front. Neurosci. 3: 192–197. doi:10.3389/neuro.01.026.2009. hdl:10044/1/40622. PMC 2751620.

External links Official website

Worked examples

Example 1 — a first encounter with Brian (software)

Start with the simplest possible case. Write down what Brian (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Brian (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Brian (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Brian (software)

In research
Brian (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Brian (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Brian (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational neuroscience, Computer programming tool stubs, Free science software, so understanding it makes those chapters shorter.
In everyday life
Look for Brian (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Brian (software)” →

How to study Brian (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Brian (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Brian (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Brian (software) in simple terms?

Brian is an open source Python package for developing simulations of networks of spiking neurons. Details Brian is aimed at researchers developing models based on networks of spiking neurons.

Why does Brian (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Brian (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Brian (software).

Tags

  • Computational neuroscience
  • Computer programming tool stubs
  • Free science software
  • Neuroscience software
  • Python (programming language) libraries
  • Science software stubs
  • Scientific simulation software
  • Software using the CeCILL license

Keep exploring