Skip to main content

CorteXforge

CorteXforge is an end-to-end framework designed to automate the generation and execution of radio dataset experiments on the SLICES-RI/CorteXlab testbed. It relies on the GNU Radio environment to record labeled transmissions of various signals.

Overview

This project is organized into three main components:

  • Scenario generation: this part produces configuration files describing the experiment setup. It creates:
    • a scenario.yaml file defining which nodes will be used and their respective roles;
    • an timeline.csv file orchestrating the timing and sequence of transmissions.
  • Experiment execution: this part deploys and executes the generated experiment definitions (timeline.csv) directly on the SLICES-RI/CorteXlab nodes.
  • Dataset API: this part provides easy access to pre-generated datasets created with CorteXforge.

Versioning

CorteXforge follows semantic versioning.

Version 1.0 defines the first stable release of the documented command-line interface and experiment workflow. Internal Python APIs may continue to evolve within the 1.x series unless explicitly documented as public.

Architecture

CorteXforge separates experiment planning from execution. The Planner generates the RF transmission timeline and the CorteXlab deployment scenario, while Forge executes the experiment across dedicated transmitter, receiver, and synchronization nodes.

flowchart LR
    CLI["Experiment Configuration<br/>TX / RX / Sync nodes"]

    subgraph Planner["Planner"]
        P["Scenario Generation"]
        TL["timeline.csv"]
        SC["scenario.yaml"]

        P --> TL
        P --> SC
    end

    subgraph Forge["Forge"]
        SYNC["<b>Sync Node</b><br/>Synchronization coordinator"]
        TX["<b>TX Nodes</b><br/>Signal transmission"]
        RX["<b>RX Nodes</b><br/>I/Q acquisition"]
    end

    dataset["SigMF dataset"]

    CLI --> P

    TL --> TX
    TL --> RX

    SC --> TX
    SC --> RX
    SC --> SYNC

    TX -->|"READY"| SYNC
    RX -->|"READY"| SYNC

    SYNC -->|"GO"| TX
    SYNC -->|"GO"| RX

    RX -->dataset

Quick start (User Guide) 🚀

1. Scenario Generator

⚠️ This module is implemented in Python 3.13 !

The scenario generator can be executed locally before deployment in Slices/CorteXlab. It allows configuration of experimental parameters such as:

  • selected nodes to be used
  • recording duration (in seconds)
  • modulations
  • frequencies
  • sample rates
  • overlapping transmissions

Example usage

  • git clone https://github.com/Andreaj42/CorteXforge.git
  • cd CorteXforge
  • python3.13 -m venv .venv
  • . .venv/bin/activate
  • pip install -e .[planner]
  • cortexforge planner --username andrea_joly --rx-nodes mnode27 mnode25 --tx-nodes mnode16 mnode17 --sync-node mnode12 --modulations OOK,16QAM,32QAM,QPSK --duration 30 --rx-frequency 2450000000 --rx-gain 20 --rx-sample-rate 5000000 --tx-frequency 2450000000 --tx-gain 30 --n-signals 96 --seed 42

2. Forge (Experiment Execution)

⚠️ This part must be executed directly on the Slices/CorteXlab testbed !

Each node defined before in the previous stage will run a GNU Radio flowgraph according to the configuration.

Docker Image 🐳

To simplify deployment and ensure reproducibility, we provide a Docker image. This image extends the standard CorteXlab toolchain and adds the required dependencies for forge.

Example usage

First, connect to the testbed:

  • ssh <username>@gw.cortexlab.fr

Then, book the testbed with your selected nodes (nodes: 12, 16, 17, 25, and 27 here):

  • oarsub -l {"network_address in ('mnode27.cortexlab.fr', 'mnode25.cortexlab.fr', 'mnode16.cortexlab.fr', 'mnode17.cortexlab.fr', 'mnode12.cortexlab.fr')"}/nodes=5,walltime=0:30:00 -r "2026-10-21 12:00:00"

⚠️ The allocated wall time must be long enough to cover the complete experiment, including deployment and execution.

Move the previously generated experiment folder into your Cortexlab home, then run:

  • minus task create experiment -f
  • minus task submit experiment.task

To monitor your experiment, use:

  • minus testbed status
  • minus log

To delete a job, use:

  • oardel <job_id>

3. Pre-generated Datasets

Just want to use a dataset without running your own experiments? Simply download one of the pre-generated datasets produced with CorteXforge.

First, install CorteXforge:

  • pip install cortexforge

List all available datasets:

  • cortexforge datasets list

Download a dataset:

  • cortexforge datasets download <dataset_name>

For instance:

  • cortexforge datasets download modfore

Metadata

Release files for cortexforge 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cortexforge 1.0.0
File Size Uploaded Provenance Actions
cortexforge-1.0.0.tar.gz 35.0 kB With provenance Details for cortexforge-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cortexforge 1.0.0
File Interpreter ABI Platform Actions
cortexforge-1.0.0-py3-none-any.whl Python 3 none any Details for cortexforge-1.0.0-py3-none-any.whl

Total release size: 81.1 kB

Release files / cortexforge-1.0.0.tar.gz

Download URL cortexforge-1.0.0.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
539792ed9beec92ac056dcfec59c4b2b835951555f202b9956229d4f38bc56a6
BLAKE2b-256 checksum
How to use checksums
5e7b9a79724887cb68be8a3803888827500fdbc6bcae3bf3681a05fc7137dc3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Release files / cortexforge-1.0.0-py3-none-any.whl

Download URL cortexforge-1.0.0-py3-none-any.whl
Size 46.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
163b55f0ed4715e1f715b396d0acac96aec491d3d3ceb9153eee1a7594b746e6
BLAKE2b-256 checksum
How to use checksums
2fba4c45ecacc6766171ef6b7987e733da887e584f2cbb04b93e0ef3f525a190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

Security for cortexforge 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cortexforge-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page