Skip to main content

processing of (RAndom) TimeSeries for vibration fatigue

Project description

pyRaTS - processing of (RAndom) TimeSeries for vibration fatigue

Providing an object-oriented framework to analyze and process time series with the focus on random vibration fatigue. PyRaTS is capable of handling single- and multi-channel, as well as single- and multi-process time series configurations. Implementation of the non-stationarity matrix, the Fatigue Damage Spectrum and quasi-stationary signal definitions to deal with the challenges of non-stationary loading.

Installing this package

Use pip to install it by:

.. code-block:: console

$ pip install pyRaTS

Simple example

Here is a simple example for running a basic code. Further examples can be found on: https://github.com/ArvidTrapp/pyRaTS

.. code-block:: python

import pyRaTS as ts
import numpy as np

# Defining the series by pseudo-random generator...
T  = 10
fs = 1024
N  = T*fs
x  = np.random.randn(N)

# Initialize series and some basic plots...
sig = ts.timeseries(x,name = 'sample timeseries', fs = fs)
sig.plot()
sig.plot_prob()
sig.plot_psd()

# derive response series and some further basic plots...
respsig = sig.der_sdofResponse(fD = 50)
respsig.plot_psd()
respsig.plot_ls()

Some methods for a statistical analysis of random time series / estimation of statistical descriptors

* spectral moments (est_specMoms)
* Dirlik estimator (est_dirlik/est_dirlikD)
* PSD (est_psd)
* load spectra (est_ls)
* Fatigue Damage Spectrum (est_fds) ...accepts list of FLife methods for damage estimation
* non-stationarity matrix (est_nonstat)

Some methods for plotting

* time series (plot)
* PSD (plot_psd)
* absolute of Fourier transform (plot_X)
* load spectra (plot_ls) ...accepts list of FLife methods with PDF definition
* transfer function (plot_tf)
* Fatigue Damage Spectrum (plot_fds) 
* non-stationarity matrix (plot_nonstat)

Some methods for processing time series

* statistical response...PSD & Non-stat.-Matrix (der_statResponse(f,H)) 
* response timeseries of single-degree-of-freedom system (der_sdofResponse(fD, D, func))
* response timeseries for linear transfer function (der_response(f,H))
* quasi-stationary load definition on the basis of the load spectra of the Fatigue Damage Spectrum (der_lsEquivalent())
* load definition on the basis of the inverse Fatigue Damage Spectrum (der_iFDS())
* ideal high pass filtered signal (der_highpass(f))
* ideal low pass filtered signal  (der_lowpass(f))
* ideal band pass filtered signal (der_bandpass(f))

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

pyRaTS-0.21.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

pyRaTS-0.21-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file pyRaTS-0.21.tar.gz.

File metadata

  • Download URL: pyRaTS-0.21.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for pyRaTS-0.21.tar.gz
Algorithm Hash digest
SHA256 5653f033dd79611fa1b0f1c8dbf2ba211e9bd88358577cd82eb7473f3881764c
MD5 85411ee9d09f1d13f96faaba609a600b
BLAKE2b-256 341b51e300050ced32148eee24afad71a4998e93d4a079c15f14910bf686e3a8

See more details on using hashes here.

File details

Details for the file pyRaTS-0.21-py3-none-any.whl.

File metadata

  • Download URL: pyRaTS-0.21-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for pyRaTS-0.21-py3-none-any.whl
Algorithm Hash digest
SHA256 12efaa77ce3046af563ab2261fa291e4bc464c3afe922cb9cda4c545fd2f80bc
MD5 1f0ac6384049ab79e7ca32f596d6ee84
BLAKE2b-256 cb039e1dbd3c47de20b5ecf61e1e55b78a2850ed46ceb68b2f71dfb914822798

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