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

Uploaded Source

Built Distribution

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

pyfrf-1.1.4-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfrf-1.1.4.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pyfrf-1.1.4.tar.gz
Algorithm Hash digest
SHA256 bc7f0423318d11c8d1c7db2428739b5067796c238150879a314db6b4c7e0f98e
MD5 3f6809993880e947cdab6bc80b1e34c5
BLAKE2b-256 1d23355ad6a9c27f2c77f0f51fd743d7e78c9243a1fc575500bacf176ca47e6c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyfrf-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 86fba714af5be3e0e5fa81d89720844d6e126987f81c2be157e0ea6304992877
MD5 4d4ab3ad3e9f60737eed44cc51cfcccb
BLAKE2b-256 1bb05bb8106c2622c958f093e44e877ca3b809247e0c646181bc7f1ba8265efd

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