Skip to main content

Frequency response function as used in structural dynamics.

Project description

Frequency response function as used in structural dynamics.

The sdypy-FRF is a namespace project of the sdypy framework and is a direct link to the pyFRF package.

Use the sdypy package to convieniently access the functionallity of the pyFRF 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)

For more information check out the showcase examples and see documentation.

Basic sdypy-FRF usage:

Import the module:

from sdypy import FRF

Make an instance of FRF class:

a = FRF.FRF(
    sampling_freq,
    exc=None,
    resp=None,
    exc_type='f', resp_type='a',
    window='none',
    weighting='linear',
    fft_len=None,
    nperseg=None,
    noverlap=None,
    archive_time_data=False,
    frf_type='H1',
    copy=True
)

Adding data:

We can add the excitation and response data at the beginning through exc and resp arguments, otherwise, the excitation and response data can be added later via add_data() method:

a.add_data(exc, resp)

Computing FRF:

Preferable way to get the frequency response functions is via get_FRF() method:

frf = a.get_FRF(type="default", form="receptance")

We can also directly get the requested FRF via other methods: get_H1(), get_H2(), get_Hv() and, get_ods_frf():

H1 = a.get_H1()
H2 = a.get_H2()
Hv = a.get_Hv()
ods_frf = a.get_ods_frf()

pytest

binder to test the Showcase.ipynb.

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

sdypy_frf-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

sdypy_frf-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file sdypy_frf-0.1.0.tar.gz.

File metadata

  • Download URL: sdypy_frf-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for sdypy_frf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f52ffc4791f09fffb4c4444d196f6fd1ae531fe5deb6364b9cfa35c7a602f072
MD5 73e0964b41a78721476b69a8aa7e3b25
BLAKE2b-256 4c2ac33c67b6a530d6e51992aa876dcadb17bd0b3589e44ab97cd63c528d9447

See more details on using hashes here.

File details

Details for the file sdypy_frf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sdypy_frf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.2

File hashes

Hashes for sdypy_frf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9d717b0f0da8b7afe306fbcc5909e79b74b2ef88ee73442334333ab4ff71d0c
MD5 ee0e4de50aa2732e6421f510b231fb11
BLAKE2b-256 014d56261f2122dc7b59bc24b462acedc7ab3dbb1f7c875282b36fc17303b822

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