Skip to main content

pyFRF

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_estimator='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(frf_estimator="default", frf_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()

Changes in 1.5.1:

Segment averaging (nperseg) now also works on 32-bit platforms, for example in the browser with Pyodide. Results are unchanged.

Changes in 1.5.0:

The FRF constructor keyword frf_estimator and the get_FRF() keywords frf_estimator/frf_form are available since 1.5.0. The old names (frf_type on the constructor, and type/form on get_FRF()) still work but raise a DeprecationWarning.

pytest

binder to test the Showcase.ipynb.

Metadata

Release files for pyFRF 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyFRF 1.5.1
File Size Uploaded Provenance Actions
pyfrf-1.5.1.tar.gz 19.1 kB Without provenance Details for pyfrf-1.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyFRF 1.5.1
File Interpreter ABI Platform Actions
pyfrf-1.5.1-py3-none-any.whl Python 3 none any Details for pyfrf-1.5.1-py3-none-any.whl

Total release size: 38.0 kB

Release files / pyfrf-1.5.1.tar.gz

Download URL pyfrf-1.5.1.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c29a63388e05a5b47752cfa2354b7c7d4a9d9eb7d4c4303a1414d186403a0af
BLAKE2b-256 checksum
How to use checksums
6274429cdb9894800f467293152bea7231a8a2dc4e7964dc2edbd3ef16cfb0ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / pyfrf-1.5.1-py3-none-any.whl

Download URL pyfrf-1.5.1-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17e084a8b389fadfb1f826182794fb34fed12b2b037a729957dd11e3e60c2bb3
BLAKE2b-256 checksum
How to use checksums
a690deec2e19566fe0a1b320cace0692216bc84394458472d360b4af50d387fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for pyFRF 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page