Skip to main content

Frequency response function as used in structural dynamics.

Project description

Frequency response function as used in structural dynamics.

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

Basic pyFRF usage:

Make an instance of FRF class:

a = pyFRF.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

pyfrf-1.1.1.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

pyfrf-1.1.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file pyfrf-1.1.1.tar.gz.

File metadata

  • Download URL: pyfrf-1.1.1.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pyfrf-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3616487946ad22e4e04b4fb400a3d69ab71a36df7b107a872269860cbee8acfa
MD5 38d2995ac6d015b5d2975d23f4a61b0c
BLAKE2b-256 dc99d6b0a78410434f0ddd5bf471dad82f1393fc21ea8f003dd4562f24863308

See more details on using hashes here.

File details

Details for the file pyfrf-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyfrf-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for pyfrf-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f37b9ef36cdb76987c23b0c39069a2ca71febfc9350eac535efe9bba7440721
MD5 69e5609af3f745f5cd8c4a8b8b6b4ecb
BLAKE2b-256 6456ada1367d12903f610cab608d7b3212c1f8a6e4b3d1076120ab724d2de8d5

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