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.4.0.tar.gz (18.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.4.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfrf-1.4.0.tar.gz
  • Upload date:
  • Size: 18.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.4.0.tar.gz
Algorithm Hash digest
SHA256 fd486aeadc56127e41d950488ba50e3ca021d42ba3222bce0adfb8ded332ac75
MD5 fb9fbcb36f3c2c1574cd350b90b2ffea
BLAKE2b-256 0188d2cfca0e6e895b1527ad70f8f6da6011757b241d8edd1f66f52903145408

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfrf-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 18.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 249d855d2c1a1be45a76a1437b8dfaee01492d27007455eab64b853e0e98d808
MD5 bbfb3ee403cb2c4ef74df18a2d0559ce
BLAKE2b-256 f1eb3d87a1ba5a880ed2a9deb71fa7b93379af57f219a1da4cd2c2a8b1c8c4f4

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