Tool for visualizing Real Time Calculus (RTC) operations
Project description
rtcvis
rtcvis is an educational tool that can create interactive visualizations for convolution operations in the min-plus algebra, such as needed for real time calculus (RTC). RTC is a method for performance analysis of real time systems. Note that rtcvis cannot be used for performance analysis however, since it only supports finite curves - for this purpose, you can use the RTC toolbox from ETH Zurich. Please note that I'm in no way affiliated with and that this project is in no way endorsed by ETH Zurich.
Installation
pip install rtcvis\[plot\]
Usage
from rtcvis import plot_conv
plot_conv()
Curve Syntax
Curves can be specified using a syntax similar to the one from RTC toolbox:
[(x, y, m), ...], l
- The first argument is a list of points:
xandyare the coordinates of this points andmis the slope of the line section starting at this point lis the length of the curve, or, in other words, the x coordinate at which the curve ends
Note that Curves are allowed to have discontinuities
Development
To install the package for development, clone it first and then run
pip install -e .\[dev,plot\]
pre-commit install
To build the package, you can use the build script:
./build.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rtcvis-0.3.0.tar.gz.
File metadata
- Download URL: rtcvis-0.3.0.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d468d1060d4e6f600062d817afbec98376f4d5d1c4dd130832f2ff1904c7bf91
|
|
| MD5 |
1422c55877035867b526eba44c1796f9
|
|
| BLAKE2b-256 |
b1578b9bfbfdbdd7abffbbe5ae1d1f2013c769dbd0328a08fd947ceece7e8f54
|
File details
Details for the file rtcvis-0.3.0-py3-none-any.whl.
File metadata
- Download URL: rtcvis-0.3.0-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0be3b72d09d7244286f64a88c0c82d3cb77e9c6d642c69e243089c239bf4e29a
|
|
| MD5 |
70b4f19493940d85639cd487222c2a5d
|
|
| BLAKE2b-256 |
3b79836f61bee5523d67d48de87ac2ab83881e363aadc2a6e0830624dc0be3a8
|