New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

artefacts-toolkit-chart

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

artefacts-toolkit-chart

  • 0.2.1
  • PyPI
  • Socket score

Maintainers
1

Artefacts Toolkit (Charts)

Please consider this as a pre-release package, and thus subject to large, and breaking, changes prior to v1

A part of the Artefacts Toolkit, this package contains helpers to be used when creating charts from test data

Primarily designed to be used with Artefacts, the package can also be used standalone.

Usage

from artefacts_toolkit_chart import make_chart

make_chart(
    filepath,
    topic_x,
    topic_y,
    field_unit=None,
    output_dir="output",
    chart_name="chart",
    file_type="rosbag",
):

Note: Currently charts can only be created from rosbags

Takes a file and creates a chart on the provided two topics. "time" can also be used as topic_x or topic_y if desired. An html chart will be created and saved to the output_dir.

Plotting time when using rosbags

  • Please note that not all ROS topics contain header timestamps. If no header is present, make_chart will use the rosbag’s own timestamps, which may cause timing inaccuracies if the rosbag was recorded or played back at non-real-time speeds.

Notes:

The Artefacts Toolkit also contains a bag_recorder helper to assist you if you require help in setting up a rosbag recording for your tests.

from artefacts_toolkit_rosbag.rosbag import get_bag_recorder
  • When using in a virtual environment, you may need to add your site packages to PYTHONPATH
export PYTHONPATH=$PYTHONPATH:/<your_workspace>/venv/lib/python3.10/site-packages

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc