pyExSi - Excitation signals as used in structural dynamics and vibration fatigue
pyExSi is a port of sdypy-excitation, which is part of the SDyPy project. The code is maintained in sdypy-excitation; this package makes the same code available under the pyExSi name, so that existing code keeps working.
Please report issues and open pull requests at sdypy-excitation.
Installing pyExSi also installs sdypy-excitation. For new code, use it directly:
pip install sdypy-excitation
from sdypy.excitation import random_gaussian
Supported excitation signals are:
pulse (e.g. half-sine)
random:
uniform random distribution
normal random distribution
pseudorandom distribution
random, defined by power spectral density (PSD):
stationary Gaussian
stationary non-Gaussian
non-stationary non-Gaussian random process
burst random
sine sweep
Simple example
A simple example on how to generate random signals on PSD basis:
import pyExSi as es
import numpy as np
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 = es.get_psd(freq, freq_lower, freq_upper) # one-sided flat-shaped PSD
#get gaussian stationary signal
gausian_signal = es.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 = es.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 = es.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 pyExSi 0.44.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 | Provenance | Actions |
|---|---|---|---|---|
| pyexsi-0.44.0.tar.gz | 4.3 MB | With provenance | Details for pyexsi-0.44.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyexsi-0.44.0-py3-none-any.whl | Python 3 | none | any | Details for pyexsi-0.44.0-py3-none-any.whl |
Total release size: 4.3 MB
Release files / pyexsi-0.44.0.tar.gz
| Download URL | pyexsi-0.44.0.tar.gz |
|---|---|
| Size | 4.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d457cedc5926ce9943974f00b32da84fd9d69a30911cc7c442738c17205ef47
|
|
BLAKE2b-256 checksum How to use checksums |
e1ae322d43b1bfdf2b5f8ff7227411db5f8480bdb2dbadaa415fda6b25ed6529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / pyexsi-0.44.0-py3-none-any.whl
| Download URL | pyexsi-0.44.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d70f24bac53d47087af57f241fd231f0d4abb803634cea45a04e5ccd6661c730
|
|
BLAKE2b-256 checksum How to use checksums |
5b177d9265f79d60eb0960b356080e9c03c564531e88083b3a2ecaffb828e007
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for pyExSi 0.44.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pyexsi-0.44.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.