Skip to main content

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

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: x and y are the coordinates of this points and m is the slope of the line section starting at this point
  • l is the length of the curve, or, in other words, the x coordinate at which the curve ends

Note that

  • Curves have to start at x=0
  • Curves are allowed to have discontinuities

Development

pip install -e .\[dev\]
pre-commit install

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

rtcvis-0.1.0.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

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

rtcvis-0.1.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file rtcvis-0.1.0.tar.gz.

File metadata

  • Download URL: rtcvis-0.1.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for rtcvis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9116b1d47fbbbe0de2e7236f383fe19be24a12ef0b3760b8d0451dc80ebe07a6
MD5 060902f9ba6ab84be61ef213142d4252
BLAKE2b-256 f98fc01ea86ca1242d29b17ee396db25e68b7abc74f7d601afe36c6be41b0445

See more details on using hashes here.

File details

Details for the file rtcvis-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rtcvis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for rtcvis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c28fa8a98a2cd9ef5f2e1600e80a3da3822943640156f05eb6b9b9d9ae64e8c3
MD5 7aca39dcfd54fb3be814c2d0a002a90f
BLAKE2b-256 1de46d74a41b27d8c0b738a5288f0779df89de12c5d5c0961499f9f5d8621daa

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