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.2.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

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

pyfrf-1.2.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfrf-1.2.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyfrf-1.2.0.tar.gz
Algorithm Hash digest
SHA256 c8bebc88284964a65b8e401e33a29064555e4907a09e9114c2feb64fa6c005c9
MD5 3c1e5239753acad7732987c2cddb3565
BLAKE2b-256 ffb67a38ec17e5f50515624f4bd95581b54d19dc474cef818fce4cc385a776cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfrf-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyfrf-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47701fd8b42685ffccf1ce973a080d498162d097c8bdf17f1f861288ff095ec3
MD5 32c1a098043d8967c887370a38a25c52
BLAKE2b-256 a4867a1f63df5bb92dc7414fe4a47526c4add877e29045797d131a5d0685f0ef

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