Voici dashboard: sensor calibration
An example Voici dashboard11Voici compiles a notebook to a static, serverless dashboard — here mocked as a static page rather than an actual notebook export, since this pipeline has no Jupyter kernel to run against. — a notebook rendered as a standalone app, restyled with the grokkingstuff Voilà/Voici theme instead of JupyterLab's default light chrome.
Bench 03 — sensor calibration
Fits a linear calibration curve from raw ADC counts to pressure (kPa). Adjust the sample count and re-run to see the fit tighten.
Inputs
import numpy as np samples = 240 # widget-controlled below raw, kpa = load_calibration_run(samples) fit_linear(raw, kpa)
Output
slope=0.0847 kPa/ct, intercept=-12.30 kPa, R²=0.9962
grokkingstuff.mplstyleBacklinks — pages that link here