Skip to main content

pydvma

A Python package for dynamics and vibration measurements and analysis.

Documentation PyPI version

About

pydvma is a modular library for data measurement and analysis in the context of dynamics and vibration, developed at the University of Cambridge Department of Engineering. It's designed for use in student laboratory experiments and research projects.

Key features:

  • Data acquisition via soundcards or National Instruments DAQs
  • Pre-trigger recording and PC-generated output stimulus for impulse/transfer-function measurements
  • FFT, transfer functions, coherence, and spectrograms (STFT and CWT)
  • Modal analysis tools (mode-fitting, damping estimation)
  • A browser-based web logger with a live oscilloscope, analysis and modal-fitting views
  • Export to .dvma, MATLAB and CSV; theme-invariant figure export (PNG/PDF)

The web logger — the recommended interface

The interactive interface is now the web logger, which runs in three modes over one shared analysis engine:

Mode Open it Install
Pages app — analysis of saved files + soundcard capture torebutlin.github.io/pydvma/app/ none
Local bridge — the same app driving real hardware (soundcard or NI-DAQ) pydvma-serve --open pip install "pydvma[serve]"
JupyterLiteimport pydvma in a browser notebook torebutlin.github.io/pydvma/lite/ none

The earlier desktop Qt logger GUI has been removed now that the web logger has full parity (its last version is the qt-final git tag).

Quick Start

Analyse or measure in the browser with no install — open the Pages app and drag in a .dvma, .npy or .mat file, or capture from a soundcard.

To drive real hardware (soundcard or NI-DAQ) from the same app on your own machine:

pip install "pydvma[serve]"     # add [ni] for National Instruments
pydvma-serve --open             # serves the app + bridge, opens a browser

To script analysis and acquisition in Python:

import pydvma as dvma

dataset = dvma.load_data('measurement.dvma')   # or record with log_data
freq = dvma.calculate_fft(dataset.time_data_list[0])

Plain pip install pydvma installs the analysis-only core (data structures, FFT/TF/modal analysis, file I/O) with no hardware dependencies — it runs anywhere, including in-browser under pyodide. Native data format is .dvma (safe, pickle-free); .npy files saved by older versions still load.

Documentation

Full documentation: torebutlin.github.io/pydvma

Contributing

Contributions are welcomed:

  • Report bugs via GitHub Issues
  • Submit pull requests for bug fixes and improvements
  • Contact us for significant changes or new features

See the Contributing Guide for details.

Support & citation

pydvma is free and open for everyone — no features are gated. If it supports your teaching or research, the most valuable thing you can do is cite it. This repository includes a CITATION.cff file, so GitHub's "Cite this repository" button and most reference managers can import the citation directly.

If your institution would like to support continued development, or you would simply like to tell us how you use pydvma, get in touch: tb267@cam.ac.uk. See the Support & citation page for details (a DOI will follow via Zenodo once a release is archived).

License

BSD 3-Clause License - see LICENSE for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydvma-2.2.0.tar.gz (574.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydvma-2.2.0-py3-none-any.whl (7.2 MB view details)

Uploaded Python 3

File details

Details for the file pydvma-2.2.0.tar.gz.

File metadata

  • Download URL: pydvma-2.2.0.tar.gz
  • Upload date:
  • Size: 574.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pydvma-2.2.0.tar.gz
Algorithm Hash digest
SHA256 aa5aa5551b45c0b46e738621cd9578155e4dd566f6a8a87c5aa4c507bcb61ec3
MD5 bb8c15800d2a6892474ff676a488e400
BLAKE2b-256 f8cfbec23eeb6d84b2537d2b00f9f087bf9bb8e0f05d64a7ded0f7531d809f56

See more details on using hashes here.

File details

Details for the file pydvma-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: pydvma-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pydvma-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e557f9307811536e65a3c6d8cf6bda5ac3407b78c65f230ab9a5071a291a9338
MD5 10a0d0d2d0881ef7272e802fa3e46a65
BLAKE2b-256 d8c906066700c9dcfb6c0ed29799750f3acd212f199beb57c5b6fee29daa8655

See more details on using hashes here.

Release history Release notifications | RSS feed

2.4.4

2 files

2.4.3

2 files

2.4.2

2 files

2.4.1

2 files

2.4.0

2 files

2.3.0

2 files

This release

2.2.0 This release

2 files

2.0.0

2 files

1.4.0

2 files

1.3.0

1 file

1.2.1

1 file

1.2.0

1 file

1.0.0

1 file

0.9.9

2 files

0.9.8

1 file

0.9.7

1 file

0.9.6

1 file

0.9.5

1 file

0.9.4

1 file

0.9.3

1 file

0.9.2

1 file

0.9.1

1 file

0.9.0

1 file

0.8.5

1 file

0.8.4

1 file

0.8.3

1 file

0.8.2

1 file

0.8.1

1 file

0.8.0

1 file

0.7.9

1 file

0.7.8

1 file

0.7.7

1 file

0.7.6

1 file

0.7.5

1 file

0.7.4

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.9

1 file

0.6.8

1 file

0.6.7

1 file

0.6.6

1 file

0.6.5

1 file

0.6.4

1 file

0.6.3

1 file

0.6.2

1 file

0.6.1

1 file

0.6.0

1 file

0.5.2

1 file

0.5.1

1 file

0.5.0

1 file

0.4.9

1 file

0.4.8

1 file

0.4.7

1 file

0.4.6

1 file

0.4.5

1 file

0.4.4

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.9

1 file

0.3.8

1 file

0.3.7

1 file

0.3.6

1 file

0.3.5

1 file

0.3.4

1 file

0.3.3

1 file

0.3.2

1 file

0.3.1

1 file

0.3.0

1 file

0.2.1

1 file

0.2.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page