The Web Logger¶
The web logger is pydvma's point-and-click app for acquiring, monitoring, analysing, fitting and exporting dynamics and vibration data. It runs in your browser, in one of two ways:
| In the browser | Served locally | |
|---|---|---|
| Open it | torebutlin.github.io/pydvma/app/ | pydvma-serve --open, or dvma.launch() from Python |
| Install | nothing | pip install "pydvma[full]" |
| Records from | your computer's soundcard, through the browser | soundcards, audio interfaces and NI-DAQ hardware, directly |
| Analysis runs | in the browser | in Python on your machine: faster, and no browser memory limit |
| Your session | kept in the browser's storage | also held by the server, so it survives closing the tab |
The app itself is identical either way, and so is the maths: the same
pydvma analysis code runs in both, so results match exactly. Files never
leave your machine. Running Locally covers
pydvma-serve and dvma.launch in full.
Measuring through the browser
A browser can't reach NI hardware, and operating systems and browsers may process a soundcard signal. pydvma asks the browser to turn off echo cancellation, noise suppression and automatic gain, but for calibrated or NI measurements, run the app locally. See Acquisition & Setup.
For scripted analysis with nothing installed there is also
JupyterLite: a Python
notebook in your browser with pydvma ready to import. Upload a .dvma
or .npy file into its file browser, then dvma.load_data(filename=...)
and use the Python interface.
The stages¶
The app is a row of stages you move through. Your datasets sit in the tray alongside, and a small live monitor is docked on every stage.
- Setup: choose the device, sample rate, channels and duration (plus NI options for NI hardware).
- Live: a full oscilloscope with live spectrum and level meters, to check the signal before recording.
- Acquire: record, with an optional pretrigger and output signal.
- Time, Frequency and TF: the analysis views, with resolution and averaging controls.
- Fit: modal fitting, with per-mode editing.
- Sonogram: time-frequency view and damping estimates.
- Nonlin: separates measurement noise from nonlinear distortion (a best linear approximation measurement).
- Export: save
.dvma, export MATLAB, CSV and figures.
Setup, Live, Acquire and Nonlin are enabled only when a live input is
available, and Fit once there is a transfer function to fit. The app
opens on Setup, or on Time when there is no live input; loading
a file from Setup takes you to the stage that shows its data.
Calibration and units apply throughout, and
everything saves to the .dvma format.
Across the top, the header has Load Data, Save Figure and Save Dataset, and a light/dark theme toggle (the sun/moon button), which follows your operating system until you choose.