Skip to content

Commit 89b8011

Browse files
authored
Merge pull request #21 from HanSur94/rename/fastplot-to-fastsense
rename: FastPlot → FastSense
2 parents feb96a4 + ee3532c commit 89b8011

238 files changed

Lines changed: 2428 additions & 2427 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/benchmark.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
uses: actions/cache@v4
2424
with:
2525
path: |
26-
libs/FastPlot/private/*.mex
26+
libs/FastSense/private/*.mex
2727
libs/SensorThreshold/private/*.mex
28-
libs/FastPlot/mksqlite.mex
29-
key: mex-linux-${{ hashFiles('libs/FastPlot/private/mex_src/**', 'libs/FastPlot/build_mex.m') }}
28+
libs/FastSense/mksqlite.mex
29+
key: mex-linux-${{ hashFiles('libs/FastSense/private/mex_src/**', 'libs/FastSense/build_mex.m') }}
3030

3131
- name: Compile MEX files
3232
if: steps.cache-mex.outputs.cache-hit != 'true'
@@ -37,9 +37,9 @@ jobs:
3737
with:
3838
name: mex-linux-bench
3939
path: |
40-
libs/FastPlot/private/*.mex
40+
libs/FastSense/private/*.mex
4141
libs/SensorThreshold/private/*.mex
42-
libs/FastPlot/mksqlite.mex
42+
libs/FastSense/mksqlite.mex
4343
retention-days: 1
4444

4545
benchmark:
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-latest
4949
container: gnuoctave/octave:8.4.0
5050
env:
51-
FASTPLOT_SKIP_BUILD: "1"
51+
FASTSENSE_SKIP_BUILD: "1"
5252
steps:
5353
- uses: actions/checkout@v4
5454

@@ -61,7 +61,7 @@ jobs:
6161
run: |
6262
xvfb-run octave --eval "
6363
addpath(pwd); setup();
64-
addpath(fullfile(pwd, 'libs', 'FastPlot', 'private'));
64+
addpath(fullfile(pwd, 'libs', 'FastSense', 'private'));
6565
6666
n = 1e6;
6767
x = linspace(0, 100, n);
@@ -79,7 +79,8 @@ jobs:
7979
end
8080
t_bs = toc / 1000;
8181
82-
fp = FastPlot();
82+
% Measure full render cycle
83+
fp = FastSense();
8384
fp.addLine(x, y, 'DisplayName', 'bench');
8485
fp.addThreshold(1.5, 'Direction', 'upper', 'ShowViolations', true);
8586
fp.render();
@@ -109,12 +110,12 @@ jobs:
109110
"
110111
111112
- name: Fix git ownership
112-
run: git config --global --add safe.directory /__w/FastPlot/FastPlot
113+
run: git config --global --add safe.directory /__w/FastSense/FastSense
113114

114115
- name: Store benchmark results
115116
uses: benchmark-action/github-action-benchmark@v1
116117
with:
117-
name: FastPlot Performance
118+
name: FastSense Performance
118119
tool: customSmallerIsBetter
119120
output-file-path: benchmark-results.json
120121
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/examples.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
uses: actions/cache@v4
2020
with:
2121
path: |
22-
libs/FastPlot/private/*.mex
22+
libs/FastSense/private/*.mex
2323
libs/SensorThreshold/private/*.mex
24-
libs/FastPlot/mksqlite.mex
25-
key: mex-linux-${{ hashFiles('libs/FastPlot/private/mex_src/**', 'libs/FastPlot/build_mex.m') }}
24+
libs/FastSense/mksqlite.mex
25+
key: mex-linux-${{ hashFiles('libs/FastSense/private/mex_src/**', 'libs/FastSense/build_mex.m') }}
2626

2727
- name: Compile MEX files
2828
if: steps.cache-mex.outputs.cache-hit != 'true'
@@ -33,9 +33,9 @@ jobs:
3333
with:
3434
name: mex-linux-examples
3535
path: |
36-
libs/FastPlot/private/*.mex
36+
libs/FastSense/private/*.mex
3737
libs/SensorThreshold/private/*.mex
38-
libs/FastPlot/mksqlite.mex
38+
libs/FastSense/mksqlite.mex
3939
retention-days: 1
4040

4141
smoke-test:
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545
container: gnuoctave/octave:8.4.0
4646
env:
47-
FASTPLOT_SKIP_BUILD: "1"
47+
FASTSENSE_SKIP_BUILD: "1"
4848
steps:
4949
- uses: actions/checkout@v4
5050

.github/workflows/generate-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
run: |
30-
git clone "https://x-access-token:${GITHUB_TOKEN}@github.com/HanSur94/FastPlot.wiki.git" wiki
30+
git clone "https://x-access-token:${GITHUB_TOKEN}@github.com/HanSur94/FastSense.wiki.git" wiki
3131
3232
- name: Generate API docs
3333
run: python3 scripts/generate_api_docs.py

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Package release
5252
run: |
5353
VERSION="${{ steps.version.outputs.VERSION }}"
54-
DIRNAME="FastPlot-${VERSION}"
54+
DIRNAME="FastSense-${VERSION}"
5555
mkdir -p "${DIRNAME}"
5656
5757
# Copy release contents (allowlist — excludes tests/, benchmarks/, docs/, bridge/, private/, .git/)
@@ -82,5 +82,5 @@ jobs:
8282
8383
Download the archive, extract it, and run `setup` in MATLAB/Octave to add libraries to path and compile MEX accelerators.
8484
files: |
85-
FastPlot-${{ steps.version.outputs.VERSION }}.tar.gz
86-
FastPlot-${{ steps.version.outputs.VERSION }}.zip
85+
FastSense-${{ steps.version.outputs.VERSION }}.tar.gz
86+
FastSense-${{ steps.version.outputs.VERSION }}.zip

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
uses: actions/cache@v4
3939
with:
4040
path: |
41-
libs/FastPlot/private/*.mex
41+
libs/FastSense/private/*.mex
4242
libs/SensorThreshold/private/*.mex
43-
libs/FastPlot/mksqlite.mex
44-
key: mex-linux-${{ hashFiles('libs/FastPlot/private/mex_src/**', 'libs/FastPlot/build_mex.m') }}
43+
libs/FastSense/mksqlite.mex
44+
key: mex-linux-${{ hashFiles('libs/FastSense/private/mex_src/**', 'libs/FastSense/build_mex.m') }}
4545

4646
- name: Compile MEX files
4747
if: steps.cache-mex.outputs.cache-hit != 'true'
@@ -52,9 +52,9 @@ jobs:
5252
with:
5353
name: mex-linux
5454
path: |
55-
libs/FastPlot/private/*.mex
55+
libs/FastSense/private/*.mex
5656
libs/SensorThreshold/private/*.mex
57-
libs/FastPlot/mksqlite.mex
57+
libs/FastSense/mksqlite.mex
5858
retention-days: 1
5959

6060
octave:
@@ -64,8 +64,8 @@ jobs:
6464
runs-on: ubuntu-latest
6565
container: gnuoctave/octave:8.4.0
6666
env:
67-
FASTPLOT_SKIP_BUILD: "1"
68-
FASTPLOT_RESULTS_FILE: /tmp/test-results.txt
67+
FASTSENSE_SKIP_BUILD: "1"
68+
FASTSENSE_RESULTS_FILE: /tmp/test-results.txt
6969
steps:
7070
- uses: actions/checkout@v4
7171

.github/workflows/wiki-links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818

1919
- name: Clone wiki
2020
run: |
21-
git clone https://github.com/HanSur94/FastPlot.wiki.git wiki-check
21+
git clone https://github.com/HanSur94/FastSense.wiki.git wiki-check
2222
2323
- name: Check markdown links
2424
uses: lycheeverse/lychee-action@v2
2525
with:
2626
args: >-
2727
--no-progress
2828
--exclude-loopback
29-
--exclude 'github.com/HanSur94/FastPlot/wiki'
29+
--exclude 'github.com/HanSur94/FastSense/wiki'
3030
--suggest
3131
wiki-check/*.md
3232
fail: true

CITATION.cff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cff-version: 1.2.0
2-
message: "If you use FastPlot in your research, please cite it as below."
3-
title: "FastPlot: Ultra-Fast Time Series Plotting for MATLAB and GNU Octave"
2+
message: "If you use FastSense in your research, please cite it as below."
3+
title: "FastSense: Ultra-Fast Time Series Plotting for MATLAB and GNU Octave"
44
type: software
55
authors:
66
- family-names: Suhr
77
given-names: Hannes
8-
repository-code: "https://github.com/HanSur94/FastPlot"
8+
repository-code: "https://github.com/HanSur94/FastSense"
99
license: MIT
1010
keywords:
1111
- MATLAB

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# FastPlot
1+
# FastSense
22

3-
[![Tests](https://github.com/HanSur94/FastPlot/actions/workflows/tests.yml/badge.svg)](https://github.com/HanSur94/FastPlot/actions/workflows/tests.yml)
4-
[![codecov](https://codecov.io/gh/HanSur94/FastPlot/graph/badge.svg)](https://codecov.io/gh/HanSur94/FastPlot)
3+
[![Tests](https://github.com/HanSur94/FastSense/actions/workflows/tests.yml/badge.svg)](https://github.com/HanSur94/FastSense/actions/workflows/tests.yml)
4+
[![codecov](https://codecov.io/gh/HanSur94/FastSense/graph/badge.svg)](https://codecov.io/gh/HanSur94/FastSense)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
66
[![MATLAB](https://img.shields.io/badge/MATLAB-R2020b%2B-orange.svg)](https://www.mathworks.com/products/matlab.html)
77
[![Octave](https://img.shields.io/badge/GNU%20Octave-7%2B-blue.svg)](https://octave.org)
88

99
Ultra-fast time series plotting for MATLAB and GNU Octave. Plot 100M+ data points with fluid zoom and pan — rendering only ~4,000 points at any zoom level.
1010

1111
<p align="center">
12-
<img src="docs/images/dashboard.png" alt="FastPlot Dashboard" width="800">
12+
<img src="docs/images/dashboard.png" alt="FastSense Dashboard" width="800">
1313
</p>
1414

1515
## Performance
@@ -47,7 +47,7 @@ setup; % adds libraries to path + compiles MEX
4747
x = linspace(0, 100, 1e7);
4848
y = sin(x) + 0.1 * randn(size(x));
4949
50-
fp = FastPlot('Theme', 'dark');
50+
fp = FastSense('Theme', 'dark');
5151
fp.addLine(x, y, 'DisplayName', 'Sensor');
5252
fp.addThreshold(0.8, 'Direction', 'upper', 'ShowViolations', true);
5353
fp.render();
@@ -57,8 +57,8 @@ fp.render();
5757
## Installation
5858

5959
```bash
60-
git clone https://github.com/HanSur94/FastPlot.git
61-
cd FastPlot
60+
git clone https://github.com/HanSur94/FastSense.git
61+
cd FastSense
6262
```
6363

6464
Then in MATLAB or Octave:
@@ -73,44 +73,44 @@ No toolbox dependencies. MEX compilation is optional — pure MATLAB fallbacks a
7373

7474
## Documentation
7575

76-
Full documentation is available in the [Wiki](https://github.com/HanSur94/FastPlot/wiki):
76+
Full documentation is available in the [Wiki](https://github.com/HanSur94/FastSense/wiki):
7777

78-
- [Getting Started](https://github.com/HanSur94/FastPlot/wiki/Getting-Started) — tutorial with examples
79-
- [API Reference: FastPlot](https://github.com/HanSur94/FastPlot/wiki/API-Reference:-FastPlot) — core plotting class
80-
- [API Reference: Dashboard](https://github.com/HanSur94/FastPlot/wiki/API-Reference:-Dashboard) — layouts, widgets, engine
81-
- [API Reference: Sensors](https://github.com/HanSur94/FastPlot/wiki/API-Reference:-Sensors) — sensor system
82-
- [API Reference: Event Detection](https://github.com/HanSur94/FastPlot/wiki/API-Reference:-Event-Detection) — event pipeline
83-
- [Architecture](https://github.com/HanSur94/FastPlot/wiki/Architecture) — render pipeline, data flow
84-
- [MEX Acceleration](https://github.com/HanSur94/FastPlot/wiki/MEX-Acceleration) — SIMD details
85-
- [Performance](https://github.com/HanSur94/FastPlot/wiki/Performance) — benchmarks
78+
- [Getting Started](https://github.com/HanSur94/FastSense/wiki/Getting-Started) — tutorial with examples
79+
- [API Reference: FastSense](https://github.com/HanSur94/FastSense/wiki/API-Reference:-FastSense) — core plotting class
80+
- [API Reference: Dashboard](https://github.com/HanSur94/FastSense/wiki/API-Reference:-Dashboard) — layouts, widgets, engine
81+
- [API Reference: Sensors](https://github.com/HanSur94/FastSense/wiki/API-Reference:-Sensors) — sensor system
82+
- [API Reference: Event Detection](https://github.com/HanSur94/FastSense/wiki/API-Reference:-Event-Detection) — event pipeline
83+
- [Architecture](https://github.com/HanSur94/FastSense/wiki/Architecture) — render pipeline, data flow
84+
- [MEX Acceleration](https://github.com/HanSur94/FastSense/wiki/MEX-Acceleration) — SIMD details
85+
- [Performance](https://github.com/HanSur94/FastSense/wiki/Performance) — benchmarks
8686

8787
## Examples
8888

89-
See the [`examples/`](examples/) directory for 40+ runnable scripts covering basic plotting, dashboards, sensors, event detection, live mode, and disk-backed storage. A categorized guide is in the [wiki](https://github.com/HanSur94/FastPlot/wiki/Examples).
89+
See the [`examples/`](examples/) directory for 40+ runnable scripts covering basic plotting, dashboards, sensors, event detection, live mode, and disk-backed storage. A categorized guide is in the [wiki](https://github.com/HanSur94/FastSense/wiki/Examples).
9090

9191
## Libraries
9292

9393
| Library | Path | Description |
9494
|---------|------|-------------|
95-
| FastPlot | `libs/FastPlot/` | Core plotting engine, layouts, toolbar, themes, disk storage |
95+
| FastSense | `libs/FastSense/` | Core plotting engine, layouts, toolbar, themes, disk storage |
9696
| SensorThreshold | `libs/SensorThreshold/` | Sensor containers, state channels, threshold rules |
9797
| EventDetection | `libs/EventDetection/` | Event detection, viewer, live pipeline, notifications |
9898
| Dashboard | `libs/Dashboard/` | Dashboard engine with widgets and JSON persistence |
9999
| WebBridge | `libs/WebBridge/` | TCP server for web-based visualization |
100100

101101
## Contributing
102102

103-
Contributions are welcome! Please open an issue to discuss your idea before submitting a pull request. See the [wiki](https://github.com/HanSur94/FastPlot/wiki) for architecture details and API references.
103+
Contributions are welcome! Please open an issue to discuss your idea before submitting a pull request. See the [wiki](https://github.com/HanSur94/FastSense/wiki) for architecture details and API references.
104104

105105
## Citation
106106

107-
If you use FastPlot in your research, please cite it:
107+
If you use FastSense in your research, please cite it:
108108

109109
```bibtex
110-
@software{fastplot,
110+
@software{fastsense,
111111
author = {Suhr, Hannes},
112-
title = {FastPlot: Ultra-Fast Time Series Plotting for MATLAB and GNU Octave},
113-
url = {https://github.com/HanSur94/FastPlot},
112+
title = {FastSense: Ultra-Fast Time Series Plotting for MATLAB and GNU Octave},
113+
url = {https://github.com/HanSur94/FastSense},
114114
license = {MIT}
115115
}
116116
```

0 commit comments

Comments
 (0)