MWDI - Morlet-Wave Damping Identification
This is the Python implementation of the Morlet-Wave damping identification method, see [1] and [2] for details.
This package is based on the MorletDamping code developed by WANG Longqi and was created within the MSCA IF project NOSTRADAMUS.
Simple example
A simple example how to identify damping using MWDI method:
import mwdi as mw
import numpy as np
# set time domain
fs = 5000 # sampling frequency [Hz]
N = 5000 # number of data points of time signal
time = np.arange(N) / fs # time vector
# generate a free response of a SDOF damped mechanical system
w_n = 2*np.pi * 100 # undamped natural frequency
d = 0.01 # damping ratio
x = 1 # amplitude
phi = 0.3 # phase
response = x * np.exp(-d * w_n * time) * np.cos(w_n * np.sqrt(1 - d**2) * time - phi)
# set MWDI object identifier
identifier = mw.MorletWave(free_response=response, fs=fs)
# identify damping
dmp = identifier.identify_damping(w=w_n, root_finding='Newton')
print(dmp)
References
Metadata
Release files for mwdi 0.73
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mwdi-0.73-py3-none-any.whl | Python 3 | none | any | Details |
Release files / mwdi-0.73-py3-none-any.whl
| Download URL | mwdi-0.73-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1febfccd0f1089fadb33df379d621b2f4e506a5caa92f0eb07301dd808d178d
|
|
BLAKE2b-256 checksum How to use checksums |
47d3270c5522238d53f64a318e75699c2f51c1b353d5fe0ffa9947deccc8a961
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|