A stream-based realtime scientific data plotter
Project description
NAME
rplot - stream-based real-time scientific data plotter
SYNOPSIS
rplot [-vcW] [-h n[,n...]] [-m #] [-g unit] [-w range] [-F fps]
DESCRIPTION
This manual page documents rplot, a stream-based real-time scientific data plotter written in Python. rplot reads a stream of data, which is a series of lines, each of which contains one or more numeric values. rplot interprets those numbers in the stream and display a two-dimensional plot for multiple data series on-the-fly.
rplot is a handy tool for visualizing a large amount of scientific data, which are typically generated from, for instance, an instance of running computer simulation program.
rplot continuously read lines from the standard input. The format of the input stream is a simple white-space-separated numeric values. Each field must be a valid string interpretable by Python's float() function. Every field may be optionally prefixed by a label, which is automatically parsed and removed by rplot.
One notable features of rplot is that it supports both the GUI and the CUI mode; i.e., visualization on graphic terminals based on PyGame (built on SDL library) and visualization on text terminals based on Curses library. If you prefer to watch the fine details of scientific data, running rplot in the GUI mode is suitable. On the other hand, if you prefer to quickly grasp the dynamics of scientific data, running rplot in the CUI mode is a better choice since the CUI mode runs ultra-fast.
During the visualization, you can tweak the output of rplot. The current version of rplot supports the following commands.
-
0 -- 9
Turn on and off the selected data series (e.g., pressing 0 toggles the display of the first data series).
-
Ctrl-a
Rewind to the beginning of the input stream.
-
Ctrl-e
Display all available data stream, which have been already parsed from the standard input.
-
Ctrl-f, Ctrl-b
Change the range of the display window. Both Ctrl-f and Ctrl-b enlarge the current window of the display, but the direction of enlargement is different.
-
f
Fill all the time series in different colors.
-
q, ESC
Terminate the rplot program.
OPTIONS
TBD
INSTALLATION
$ pip3 install rplot
AVAILABILITY
The latest version of rplot is available at PyPI (https://pypi.org/project/rplot/) .
AUTHOR
Hiroyuki Ohsaki <ohsaki[atmark]lsnl.jp>
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
Built Distribution
File details
Details for the file rplot-1.8.tar.gz
.
File metadata
- Download URL: rplot-1.8.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf5af087e7a81f6baaf0f826dab9eac714c95c595a70eefca67478989be97f1b |
|
MD5 | aab76bf342c646d08954e8f18a439eba |
|
BLAKE2b-256 | 2c5b27171770f83e7135959d3944525740767a51eaedac654c7fbee8ce5169ac |
File details
Details for the file rplot-1.8-py3-none-any.whl
.
File metadata
- Download URL: rplot-1.8-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5abc13d2043d5e872222a4b40a23645f500eba5a593e2cf58ff6b0e70d057dc |
|
MD5 | 539aa74a980df765a0e3200c202ff102 |
|
BLAKE2b-256 | b85d5e026716cc9c76194c8845fffc7c2b9cd934c709ec47dbb789b6a9987e39 |