sdypy-excitation
Frequency response function as used in structural dynamics.
The sdypy-excitation is a namespace project of the sdypy framework and is a direct link to the pyExSi package (developed at pyExSi).
Use the sdypy package to conveniently access the functionality of the pyExSi package through its namespace (see example below).
Other functionalities of the sdypy framework include:
sdypy-EMA: Experimental Modal Analysis
sdypy-io: Input/Output operations (LVM files, UFF files)
sdypy-FRF: Frequency Response Function estimation
For more information check out the showcase examples and see documentation.
Basic sdypy-excitation usage:
Import the module:
import numpy as np
# import the sdypy module
import sdypy as sd
N = 2**16 # number of data points of time signal
fs = 1024 # sampling frequency [Hz]
t = np.arange(0,N)/fs # time vector
# define frequency vector and one-sided flat-shaped PSD
M = N//2 + 1 # number of data points of frequency vector
freq = np.arange(0, M, 1) * fs / N # frequency vector
freq_lower = 50 # PSD lower frequency limit [Hz]
freq_upper = 100 # PSD upper frequency limit [Hz]
PSD = sd.excitation.get_psd(freq, freq_lower, freq_upper) # one-sided flat-shaped PSD
#get gaussian stationary signal
gausian_signal = sd.excitation.random_gaussian((N, PSD, fs))
#get non-gaussian non-stationary signal, with kurtosis k_u=10
#amplitude modulation, modulating signal defined by PSD
PSD_modulating = sd.excitation.get_psd(freq, freq_lower=1, freq_upper=10)
#define array of parameters delta_m and p
delta_m_list = np.arange(.1,2.1,.5)
p_list = np.arange(.1,2.1,.5)
#get signal
nongaussian_nonstationary_signal = sd.excitation.nonstationary_signal(N,PSD,fs,k_u=5,modulating_signal=('PSD', PSD_modulating),param1_list=p_list,param2_list=delta_m_list)
Metadata
Release files for sdypy-excitation 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sdypy_excitation-0.1.1.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sdypy_excitation-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / sdypy_excitation-0.1.1.tar.gz
| Download URL | sdypy_excitation-0.1.1.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
082cb0086ca2162590dbf83d318cf551412ca93872a36bbd9ead8d1bb2517e9f
|
|
BLAKE2b-256 checksum How to use checksums |
f6b31b64e36a8530248ea9add2cb82a7f10c2187e40497022c6068d1a72a3e39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|
Release files / sdypy_excitation-0.1.1-py3-none-any.whl
| Download URL | sdypy_excitation-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
464ed958d0bcad189a28b4006d7dd0be0d82c382cd1ed087676d23679a67a2b1
|
|
BLAKE2b-256 checksum How to use checksums |
1863ec3cef63ef84a294206569a66c70fcc45ea5884c77c5a67a2d86a079c03e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.2
|