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 Distribution

mwdi-0.72.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mwdi-0.72.tar.gz.

File metadata

  • Download URL: mwdi-0.72.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.7

File hashes

Hashes for mwdi-0.72.tar.gz
Algorithm Hash digest
SHA256 9479e861409e45c556024ba65105592802e1d6d07f5d200d0205c8f24c4f23b1
MD5 bee6d97385e3c0120bc58f7bc47e1665
BLAKE2b-256 587c86c83d264c3c37b4d1655e952017bbf0c1a37c59bc6d5741209d22febeaf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mwdi-0.72-py3-none-any.whl
Algorithm Hash digest
SHA256 7e65659c672d499f716b0ba74d87c6621f6fb2e8ae87bae75883e037787ae642
MD5 09b5442c9b845e7cb5ae3f416f37d92c
BLAKE2b-256 234a8e23aacf5b9d2d47e2926e613761eb4142f51115da1a91da56bf1502f36a

See more details on using hashes here.

Supported by

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