Skip to content

RadiensPy for developers

RadiensPy is the family of Radiens Python packages. Its base package, radiens-core, is the client that connects to a running Allego or Videre: control a recording, read signals, spikes and units, and run the same analyses as the apps from scripts and Jupyter notebooks.

radiens-core docsDownload Radiens
A radiens-core script that connects to Allego and prints whether it is streaming and recording

Get started

1 · Install a Radiens app

Videre for recorded files, Allego for live acquisition. radiens-core connects to whichever is running.

Downloads →

2 · Install radiens-core

Install the radiens-core package from PyPI. The installation guide has the steps and the supported Python versions.

3 · Connect a client

Open AllegoClient or VidereClient in a with block and call it. The examples cover streaming, recording and closed-loop reads.

A whole study in a dozen lines

Link each recording, sort it, and read the units back. The sorting and the large-data work run in the Radiens backend, so the script stays short enough to read and check.

VidereClient reference →
A radiens-core script that links three recordings, spike sorts each one, and prints how many units each sort found

Documentation

The radiens-core docs, generated from the package source with every release.

AllegoClient

Control streaming and recording, read live signals and signal-quality metrics, configure filters, and run spike sorting, stimulation and hardware diagnostics.

AllegoClient reference →

VidereClient

Link recorded files, read signals, spikes and units, compute signal-quality and spectral metrics, and filter, re-reference, downsample and slice datasets.

Models

The typed objects every call returns: channels, signals, spikes, spectra, provenance and more.

Examples

Runnable scripts for streaming, recording, closed-loop acquisition and restarting the backend.

Using it from MATLAB

MATLAB can call radiens-core through its Python interface. The guide lists the supported MATLAB releases.

Changelog

What each release added, changed and fixed. radiens-core is pre-1.0, so read it before upgrading.

Before 1.0

radiens-core is pre-1.0: a release may change or remove an API, so pin the version your scripts use. A call that needs a newer Radiens app than the one running raises CapabilityError.

Developers — FAQ

Install radiens-core, the base RadiensPy package and the client for Allego and Videre. Its installation guide has the steps and the supported Python versions. It needs Videre or Allego installed.

Yes — RadiensPy has full GUI-to-API parity: every operation available in Allego and Videre is available as a Python call, so anything you can do by hand you can script.

Acquisition control, spike sorting, LFP and spectral analysis, curation, and export — the same operations the desktop apps expose, composed into reproducible pipelines and agent workflows.

Yes. RadiensPy is notebook-first and supports headless mode with no display server required, so it fits scripted and remote HPC workflows.

Script your first recording

Read the radiens-core docsWhy script Radiens