Experimental and operational modal analysis.
pyEMA is a port of sdypy-EMA, which is part of the SDyPy project. The code is maintained in sdypy-EMA; this package makes the same code available under the pyEMA name, so that existing code keeps working.
Please report issues and open pull requests at sdypy-EMA.
Installing pyEMA also installs sdypy-EMA. These two imports give the same code:
import pyEMA
from sdypy import EMA as pyEMA
For new code, use sdypy-EMA directly:
pip install sdypy-EMA
from sdypy import EMA
Basic pyEMA usage
Make an instance of Model class:
a = pyEMA.Model(
frf_matrix,
frequency_array,
lower=50,
upper=10000,
pol_order_high=60
)
Compute poles:
a.get_poles()
Determine correct poles:
The stable poles can be determined in two ways:
Display stability chart
a.select_poles()
The stability chart displayes calculated poles and the user can hand-pick the stable ones.
If the approximate values of natural frequencies are already known, it is not necessary to display the stability chart:
approx_nat_freq = [314, 864]
a.select_closest_poles(approx_nat_freq)
After the stable poles are selected, the natural frequencies and damping coefficients can now be accessed:
a.nat_freq # natrual frequencies
a.nat_xi # damping coefficients
Reconstruction:
There are two types of reconstruction possible:
Reconstruction using own poles (the default option):
H, A = a.get_constants(whose_poles='own')
where H is reconstructed FRF matrix and A is a matrix of modal constants.
Reconstruction on c using poles from a:
c = pyEMA.Model(frf_matrix, frequency_array, lower=50, upper=10000, pol_order_high=60)
H, A = c.get_constants(whose_poles=a)
Release files for pyEMA 0.27.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyema-0.27.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyema-0.27.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:7.6 kB
Release files / pyema-0.27.0.tar.gz
| Download URL | pyema-0.27.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
871335a33a55576eb687b30de7c42393babc7002662fad454fe7b0e0e87df046
|
|
BLAKE2b-256 checksum How to use checksums |
c0fa1f83c6308b0de65d38ed5398146c9731cd2b289fdbbb5cf251cdfc0a8af4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.0.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pyema-0.27.0-py3-none-any.whl
| Download URL | pyema-0.27.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb0748c4d65fe2a05870267eca1847e5432367d02351c489220bae6869f2fb96
|
|
BLAKE2b-256 checksum How to use checksums |
bf774e481b3996cd3f820ff5e54dc9847aee28ff0e97d057e0c6dc2e77b382d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.0.3","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|