Skip to main content

Morlet Wave Damping Identification.

Project description

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

Build Status Zenodo

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

mwdi-0.73-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file mwdi-0.73-py3-none-any.whl.

File metadata

  • Download URL: mwdi-0.73-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for mwdi-0.73-py3-none-any.whl
Algorithm Hash digest
SHA256 d1febfccd0f1089fadb33df379d621b2f4e506a5caa92f0eb07301dd808d178d
MD5 1ccffb369de0e985b137a0575dba6856
BLAKE2b-256 47d3270c5522238d53f64a318e75699c2f51c1b353d5fe0ffa9947deccc8a961

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page