Skip to main content

bsmplot is a tool to visualize time series

Project description

bsmplot

bsmplot is a cross-platform tool to visualize time series based on Matplotlib and wxPython.

Installation

$ pip install bsmplot

To start from terminal

$ bsmplot

Add shortcut to desktop / Start Menu

$ bsmplot --init

Supported data source

  • VCD (value change dump)
  • PX4 ulog
  • CSV
  • Matlab (.mat)
  • HDF5
  • netCDF
  • ZMQ subscriber. json format is supported by defaut. If corresponding package is installed, the following format is also supported

Plot the data

To plot the data, simply double click a signal. It will plot the signal on the current figure window (or create one if there is no figure window then plot).

You can also drag the signal to the figure window.

If the data has timestamp field (e.g., ulog), it will be used as x-axis data; otherwise (e.g., csv), the x-axis will be the index by default. And you can also set some signal as x-axis data, which will be shown in bold.

Many operations of the figure can be done via the context menu (right click), and the toolbar on top. For example, to create a subplot with shared x-axis,

If the signal has 2d/3d data, it will be shown in glsurface window. For 3d data, the 1st dimension will be treated as time axis.

Process the data

To process the data, right click the signal, and select the function to run. Following functions are pre-defined

  1. Quaternion to Yaw/Pitch/Roll
  2. Radian to degree
  3. Degree to Radian
  4. Moving average

If you are familiar with python code, you can add your own functions. You basically need to define the inputs, equation, and outputs. The number of outputs must match the actual ones returned from the equation.

If the processing is too complicated, you can also export the data to shell: right click -> Export to shell (or Export to shell with timestamp if available)

Then in the shell, you can access the exported data, and run any python command.

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

bsmplot-0.4.0.tar.gz (391.6 kB view details)

Uploaded Source

Built Distribution

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

bsmplot-0.4.0-py3-none-any.whl (403.1 kB view details)

Uploaded Python 3

File details

Details for the file bsmplot-0.4.0.tar.gz.

File metadata

  • Download URL: bsmplot-0.4.0.tar.gz
  • Upload date:
  • Size: 391.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for bsmplot-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cd962af013c1ccf0cc42ee4625410ba9013e9c89a2475fa54c76e7abc4d76c8e
MD5 e9f18f29cc758d74b384f16b878457f3
BLAKE2b-256 8cb6cef5dee60f23460319752f5b3b5d734006fcec063d9838b824d09a747995

See more details on using hashes here.

File details

Details for the file bsmplot-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: bsmplot-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 403.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for bsmplot-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4033670e404afc2151ba0126047d257a31e22c339139713c7be8e1f7a116d5bb
MD5 a3aef72361e974791850bb9f70666881
BLAKE2b-256 f2b2f11fc61f96b4672807afe85509eacb3df319e078259259bf26340981f8d6

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