Metadata-Version: 2.4
Name: signalviewer-lite
Version: 1.26.0
Summary: Signal Viewer - offline flight log & test data analysis: ArduPilot, PX4, MAVLink, CSV, MATLAB, CAN, simulation output. The light install: the core, every other reader as an extra.
License-Expression: MIT
Project-URL: Homepage, https://github.com/DavidAlpert11/SignalViewer
Project-URL: Documentation, https://davidalpert11.github.io/SignalViewer/
Project-URL: Changelog, https://github.com/DavidAlpert11/SignalViewer/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/DavidAlpert11/SignalViewer/issues
Project-URL: Releases, https://github.com/DavidAlpert11/SignalViewer/releases
Keywords: signals,plotting,time series,flight log,flight test,ardupilot,px4,mavlink,ulog,ros2,mcap,telemetry,csv,parquet,hdf5,matlab,offline
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Classifier: Environment :: Web Environment
Classifier: Framework :: FastAPI
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Natural Language :: Hebrew
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi>=0.110
Requires-Dist: pydantic>=2.0
Requires-Dist: uvicorn>=0.27
Requires-Dist: python-multipart>=0.0.9
Requires-Dist: numpy>=1.24
Requires-Dist: pandas>=2.0
Requires-Dist: scipy>=1.10
Provides-Extra: parquet
Requires-Dist: pyarrow>=12.0; extra == "parquet"
Provides-Extra: hdf5
Requires-Dist: h5py>=3.8; extra == "hdf5"
Provides-Extra: desktop
Requires-Dist: pywebview>=5.0; extra == "desktop"
Provides-Extra: reports
Requires-Dist: python-bidi>=0.4; extra == "reports"
Requires-Dist: matplotlib>=3.7; extra == "reports"
Requires-Dist: python-docx>=1.0; extra == "reports"
Provides-Extra: mavlink
Requires-Dist: pymavlink>=2.4.40; extra == "mavlink"
Requires-Dist: pyserial>=3.5; extra == "mavlink"
Provides-Extra: px4
Requires-Dist: pyulog>=1.0; extra == "px4"
Provides-Extra: ros
Requires-Dist: mcap>=1.1; extra == "ros"
Requires-Dist: mcap-ros2-support>=0.5; extra == "ros"
Requires-Dist: lz4>=4.0; extra == "ros"
Requires-Dist: zstandard>=0.21; extra == "ros"
Provides-Extra: all
Requires-Dist: h5py>=3.8; extra == "all"
Requires-Dist: lz4>=4.0; extra == "all"
Requires-Dist: matplotlib>=3.7; extra == "all"
Requires-Dist: mcap-ros2-support>=0.5; extra == "all"
Requires-Dist: mcap>=1.1; extra == "all"
Requires-Dist: pyarrow>=12.0; extra == "all"
Requires-Dist: pymavlink>=2.4.40; extra == "all"
Requires-Dist: pyserial>=3.5; extra == "all"
Requires-Dist: python-bidi>=0.4; extra == "all"
Requires-Dist: python-docx>=1.0; extra == "all"
Requires-Dist: pyulog>=1.0; extra == "all"
Requires-Dist: pywebview>=5.0; extra == "all"
Requires-Dist: zstandard>=0.21; extra == "all"
Dynamic: license-file

<p align="center">
  <img src="https://raw.githubusercontent.com/DavidAlpert11/SignalViewer/v1.26.0/assets/png/icon-128.png" width="96" alt="Signal Viewer icon">
</p>

<h1 align="center">Signal Viewer</h1>

<p align="center">
  <b>Signal Viewer – offline flight log &amp; test data analysis</b><br>
  CSV · Parquet · MATLAB .mat · ArduPilot .bin · MAVLink .tlog · PX4 .ulg · ROS 2 .mcap · HDF5 · CAN + .dbc
</p>

<p align="center">
  <a href="https://github.com/DavidAlpert11/SignalViewer/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/DavidAlpert11/SignalViewer/actions/workflows/ci.yml/badge.svg?branch=main"></a>
  <img alt="Python" src="https://img.shields.io/badge/Python-3.9%2B-3776AB?logo=python&logoColor=white">
  <img alt="React" src="https://img.shields.io/badge/UI-React%20%2B%20TypeScript-61DAFB?logo=react&logoColor=black">
  <img alt="Platforms" src="https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey">
  <img alt="Offline" src="https://img.shields.io/badge/runs-100%25%20offline-2ea44f">
  <img alt="Languages" src="https://img.shields.io/badge/UI-English%20%7C%20%D7%A2%D7%91%D7%A8%D7%99%D7%AA-orange">
  <a href="https://davidalpert11.github.io/SignalViewer/"><img alt="Docs" src="https://img.shields.io/badge/docs-site-0A7BBB"></a>
  <a href="https://github.com/DavidAlpert11/SignalViewer/blob/v1.26.0/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue"></a>
</p>

<p align="center">
  <a href="https://github.com/DavidAlpert11/SignalViewer/releases/latest"><b>⬇ Download for Windows</b></a>
  &nbsp;·&nbsp; <code>pip install signalviewer</code>
  &nbsp;·&nbsp; <a href="https://davidalpert11.github.io/SignalViewer/"><b>Documentation</b></a>
  &nbsp;·&nbsp; <a href="https://davidalpert11.github.io/SignalViewer/GUIDE.he/"><b>מדריך בעברית</b></a>
</p>

<p align="center">
  <img src="https://raw.githubusercontent.com/DavidAlpert11/SignalViewer/v1.26.0/docs/images/34_live_page.png" alt="A live HTML page made by Signal Viewer: a flight around Mount Tabor in 3D on the terrain and on the 2D map, altitude and roll of the truth, the navigation solution and the GPS, one time bar with Play and the log's marks" width="100%">
</p>

<p align="center"><b>Open a flight log or a test run, see what went wrong, judge it against a golden run – and send the answer as one live page. All offline.</b></p>

## Why engineers use it

- **Opens anything, fast.** A 1.2 GB ArduPilot log in seconds, every sample at full resolution – CSV, MATLAB, `.bin`, `.tlog`, `.ulg`, ROS 2, HDF5, Parquet, CAN + `.dbc`, or your own format in a few lines of Python.
- **Points at the problem.** An ArduPilot log gets a health check as it opens – vibration, GPS, battery, EKF, motors – and each finding takes you to its moment.
- **Pass or fail, not "looks about right".** A golden run with a tolerance per signal judges the next recording – and gives CI the same answer.
- **Every object on the map and in 3D.** Truth, each navigation solution, each GPS, each EKF lane – found by name, added in one click, compared in position, velocity and attitude.
- **Send the answer, not a screenshot.** One HTML file: plots, map and 3D on one time bar, with Play. Opens in any browser – no install, no network.
- **Nothing leaves the PC.** No account, no telemetry; maps and terrain built in. English and Hebrew.

## New in 1.26 – the report is alive

- **One live page.** An HTML report's time bar moves every plot and the Map together – Play, ×0.5 – ×30, and the log's errors, warnings and your notes as marks to jump to.
- **3D in the report.** Turn, zoom and follow any object over the real terrain, with its model's heading, pitch and roll. PDF and Word get the same view as a picture.
- **One Map, in 3D.** The earth with its terrain; *From above* is the old 2D view. *3D (XYZ)* is the plot for any three signals.
- **A Map worth stopping for.** The sun where it was, drop lines, a cockpit camera, a flight display, and the error between truth and the navigation solution drawn as a coloured surface.
- **Story mode.** *▶ Story* plays the flight as a short guided film – the camera flies to each moment that matters, and a card says what happened.

<p align="center"><img src="https://raw.githubusercontent.com/DavidAlpert11/SignalViewer/v1.26.0/docs/images/35_live_3d.png" alt="The 3D view inside the page: the offline map draped on the terrain around Mount Tabor, the flown part of the track with its curtain to the ground, the models at 150 s" width="100%"></p>

<p align="center"><img src="https://raw.githubusercontent.com/DavidAlpert11/SignalViewer/v1.26.0/docs/images/36_map_wow.png" alt="Behind the truth late in the flight: the error surface between truth and the drifted navigation solution, the flight display, the mini-map" width="100%"></p>

<p align="center"><img src="https://raw.githubusercontent.com/DavidAlpert11/SignalViewer/v1.26.0/docs/images/37_story.png" alt="Story mode in the live page: the card 'Largest error – nav is 6.1 m north of truth', the moments as diamonds on the timeline" width="100%"></p>

<p align="center"><img src="https://raw.githubusercontent.com/DavidAlpert11/SignalViewer/v1.26.0/docs/media/02_flight_map_3d.gif" alt="A UAV flight over the Sea of Galilee played back on the offline map and in 3D" width="49%"> <img src="https://raw.githubusercontent.com/DavidAlpert11/SignalViewer/v1.26.0/docs/media/04_flight_log_health.gif" alt="ArduPilot log: vibration template, health findings, events and parameters" width="49%"></p>

<p align="center"><img src="https://raw.githubusercontent.com/DavidAlpert11/SignalViewer/v1.26.0/docs/images/00_hero.png" alt="A flight judged against its simulation: roll and pitch overlaid, the differences with the ±3° tolerance, and Compare's verdict" width="100%"></p>

## Get started

- **Windows:** the installer or the portable `.zip` from the [latest release](https://github.com/DavidAlpert11/SignalViewer/releases/latest) – no administrator rights. **Linux / macOS:** the `-portable.7z`.
- **Python 3.9+:** `pip install signalviewer`, then `signalviewer`.

Six examples open in one click from the welcome screen.

## In CI and in your scripts

```bash
signalviewer-cli check   runs/*.csv --checks checks.json --junit results.xml      # limits: exit 1 when one breaks
signalviewer-cli compare-objects flight.bin --ref POS --tolerance position=2m     # every EKF lane against POS
signalviewer-cli map     flight.bin --3d --out flight.html                        # the flight in 3D, one offline page
```

```python
import signalviewer as sv
rec = sv.load("flight.bin")
sv.scene_html(rec, path="flight-3d.html")      # the live 3D page
```

[Command line and Python](https://davidalpert11.github.io/SignalViewer/command-line/) · [Scripting API](https://github.com/DavidAlpert11/SignalViewer/blob/v1.26.0/docs/api.md) · [Everything it does](https://github.com/DavidAlpert11/SignalViewer/blob/v1.26.0/docs/features.md) · [CHANGELOG](https://github.com/DavidAlpert11/SignalViewer/blob/v1.26.0/CHANGELOG.md)

## Where it fits

| You mostly… | Also used | What Signal Viewer adds |
|---|---|---|
| stream ROS topics live | PlotJuggler, Foxglove | recorded runs compared, pass / fail, live reports |
| work in MATLAB / Simulink | Simulation Data Inspector | no licence; flight logs and CAN next to the `.mat` |
| review one flight online | UAV Log Viewer, PX4 Flight Review | offline, many flights side by side, your limits in CI |

## בעברית בקצרה

<div dir="rtl">

**Signal Viewer** – פותחים לוג טיסה או ריצת ניסוי, רואים מה השתבש, בודקים מול ריצת ייחוס, ושולחים את התשובה כדף חי אחד. הכול בלי אינטרנט.

- **חדש ב־1.26:** דוח HTML הוא דף חי – סרגל זמן אחד מזיז את כל הגרפים, את המפה ואת התלת־ממד יחד, עם ניגון. התלת־ממד בתוך הדוח: סיבוב, זום ומעקב אחרי אובייקט מעל פני השטח. ב־PDF וב־Word – תמונה.
- **מפה אחת, דו־ממד או תלת־ממד** – מתג אחד. *תלת־ממד (XYZ)* הוא הגרף לכל שלושה סיגנלים.
- **פותח הכול, מהר:** ‏ArduPilot, ‏PX4, ‏MAVLink, ‏MATLAB, ‏CSV, ‏ROS 2, ‏CAN. בדיקת תקינות ללוג, עבר / נכשל מול ריצת ייחוס, ו־CI עם אותה תשובה.

**התקנה:** מ־[השחרור האחרון](https://github.com/DavidAlpert11/SignalViewer/releases/latest), או <code dir="ltr">pip install signalviewer</code>. **מדריך:** [docs/GUIDE.he.md](https://github.com/DavidAlpert11/SignalViewer/blob/v1.26.0/docs/GUIDE.he.md).

</div>

## License

[MIT](https://github.com/DavidAlpert11/SignalViewer/blob/v1.26.0/LICENSE) – free to use, change and ship, also commercially. Third-party parts keep their own licences: uPlot (MIT), three.js (MIT), the report fonts (SIL OFL), CesiumJS (Apache-2.0), map data from OpenStreetMap (ODbL), Natural Earth and the AWS Terrain Tiles ([details](https://github.com/DavidAlpert11/SignalViewer/blob/v1.26.0/docs/maps-and-3d.md#offline-map-data)).
