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.3.0.tar.gz (17.8 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.3.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyfrf-1.3.0.tar.gz
Algorithm Hash digest
SHA256 3ff1ec453342a454bb461ba6a945b472663b1ac75636e61ae301032e943a8fab
MD5 dd8b57b34c8daf805b239c25cb85cc92
BLAKE2b-256 5c2e014642bdc857d460aac92bfc522c37dc22722fed4cabc5f4a9858e74862b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfrf-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a3615918e0e916e1ddc83c4cf0be804d6e9270ac2b8dcf7c04bd58e732a25f8
MD5 8aa9bd63eee2e70fd4abb7332e3d8697
BLAKE2b-256 62f2612cb444c58de2041079f89a6b6c8c071223f51e2e7bfe9cffa2df2b18a8

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