Skip to main content

Excitation signals as used in structural dynamics.

Project description

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
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)

Build Status

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

pyExSi-0.3.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyExSi-0.3.tar.gz
  • Upload date:
  • Size: 9.9 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.3.tar.gz
Algorithm Hash digest
SHA256 9d36a54956dcbc463d95ca4276e499be7ba0afb650b76f3d608aa1613f55a202
MD5 a5391eafc549947b4dd4441a328f3719
BLAKE2b-256 d2b32c2a683aa4cdd372127a6b5811f563033dfbed0ec0f60e6d7b3c08f7adc3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyExSi-0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8b5b76e65cac37c650c0cacf25e5cdd9a6e3531e3f54cb2d23c52aa565ac74d8
MD5 b10e6415e85d6cea6edbdb33f030fb0e
BLAKE2b-256 359a61e9265cd1612bf00fa075e1800f03efc13a23ca457b861f6b762113a25e

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