Skip to main content

pyExSi - Excitation signals as used in structural dynamics and vibration fatigue

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
f = np.arange(0, M, 1) * fs / N # frequency vector
f_min = 50 # PSD upper frequency limit  [Hz]
f_max = 100 # PSD lower frequency limit [Hz]
PSD = es.get_psd(f, f_min, f_max) # 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(f, f_low=1, f_high=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)

Build Status

Download files

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

Source Distribution

pyExSi-0.2.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

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

pyExSi-0.2-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file pyExSi-0.2.tar.gz.

File metadata

  • Download URL: pyExSi-0.2.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pyExSi-0.2.tar.gz
Algorithm Hash digest
SHA256 5f9d233d7ef0737116beb10d6046718be0ac787bada67e30b15a60c45c345771
MD5 e4358257463ff164277eb75babe72259
BLAKE2b-256 4c66fa6f5cf1a397969ac78d8d2c357467610d5cf7a4c24a530e2dd02fd04d1b

See more details on using hashes here.

File details

Details for the file pyExSi-0.2-py3-none-any.whl.

File metadata

  • Download URL: pyExSi-0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pyExSi-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28634c36ed4045ae3e0d59819dc7be9194eb1c6495ead1be847d9e109e7ea669
MD5 5af00273a73e5cae41bab8aff6012120
BLAKE2b-256 3c70feb8d38a6b3c363fb830447ac35fee667a12691047b3dc9c7db32373eb9f

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 Sentry Error logging StatusPage Status page