Skip to main content

Block diagram editor for control systems

Project description

Lynx - Block Diagram Widget for Control Systems

Lightweight block diagram editor GUI for control systems in Jupyter notebooks

Lynx is a Jupyter widget that enables interactive creation and editing of block diagrams for linear SISO control systems. Designed for controls engineers working in Jupyter environments.

Features

  • Interactive Canvas: Drag-and-drop block diagram editing
  • Control Theory Blocks: Transfer Function, State Space, Gain, Sum Junction, I/O markers
  • Real-Time Validation: Algebraic loop detection, connection constraints
  • Git-Friendly Persistence: Human-readable JSON format
  • Python Integration: Use numpy expressions for parameters, export to python-control
  • SISO Systems: Focus on linear single-input, single-output control systems

For more details, see the documentation site

Quick Start

The easiest way to install from pip:

pip install lynx-nb

Source build

Backend installation

# Using UV (recommended)
uv pip install -e ".[dev]"

# Or using pip
pip install -e ".[dev]"

Frontend Setup

cd js
npm install
npm run build

Jupyter Kernel Setup

# Install Jupyter kernel for this project
uv run ipython kernel install --user --env VIRTUAL_ENV $(pwd)/.venv --name=lynx

Basic Usage

import lynx
import numpy as np

# Create a diagram
diagram = lynx.Diagram()

# Launch interactive editor (displays in Jupyter)
lynx.edit(diagram)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lynx_nb-0.1.1.tar.gz (847.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lynx_nb-0.1.1-py3-none-any.whl (59.9 kB view details)

Uploaded Python 3

File details

Details for the file lynx_nb-0.1.1.tar.gz.

File metadata

  • Download URL: lynx_nb-0.1.1.tar.gz
  • Upload date:
  • Size: 847.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lynx_nb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8d46d20bb27d71f885828a510247bc24c71fbb1ca1865e2a6c2ce46637470721
MD5 a81be9340eaff0febb79f9e51add21f9
BLAKE2b-256 2ab45601295937fbea6a289f4f3577b1ef7fe634ff6d9987418a107b781ac5fd

See more details on using hashes here.

File details

Details for the file lynx_nb-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: lynx_nb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 59.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lynx_nb-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a751d079f7313da986df3e98b22b177ea28acd301338a86464dec31d34c4d311
MD5 e8c9ee0f326019da5c298d202cb83582
BLAKE2b-256 cb67ea55529c6635b14e8de5e4294340a60e4dcd88eafec7e304e3d3b757a0c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page