Official Brian2 · source model package

opencv movie

An example that uses a function from external C library (OpenCV in this case).

Explore the visual experimentMeasured Brian2 recording

Replay a moving scene as pixel-neuron spikes and inspect voltage traces. Adaptations and recording provenance are available in Vision Lab.

Open Vision Lab
Execution

Run this model

Choose a model size and computing resource when you're ready.

Brian2 Python

Original source

Original Brian2 example

This is an unmodified snapshot of an official Brian2 example. Open it in Notebook for a local experiment, or fork it into My Workspace to edit and publish as a model. Notebook execution needs a kernel and is not available yet.

Official exampleUnmodified source

Companion files are included in CPU sandbox submissions and package downloads.

Download source packageOriginal Python + companion files · ZIP
Last CPU checkDid not complete

URLError: <urlopen error [Errno -3] Temporary failure in name resolution>

Companion files8
  • COBAHH_approximated.py
  • Ornstein_Uhlenbeck.py
  • compare_GSL_to_conventional.py
  • custom_events.py
  • exprel_function.py
  • float_32_64_benchmark.py
  • modelfitting_sbi.py
  • stochastic_odes.py
Python imports5
  • brian2
  • cv2
  • matplotlib
  • os
  • urllib
Source
Brian2 contributors · official example ↗
License
CeCILL 2.1
Revision
ecd72a361f54
Source SHA-256
976987bb0b8480f9…

CPU Python runs inside a disposable, resource-limited Brian2-Atlas container. Unsupported features fail explicitly; a successful run is not scientific validation. Apple GPU remains limited to reviewed adaptations.

Python source

opencv_movie.pyPython · 136 lines
Read-only preview · Open in Notebook or fork this model to edit.