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.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.0

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.0
File Size Uploaded
pyfrf-1.5.0.tar.gz 18.8 kB Details

Built distribution (wheel)

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

Total release size: 37.4 kB

Release files / pyfrf-1.5.0.tar.gz

Download URL pyfrf-1.5.0.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
468ce4d6061554cd6a2a4ccca14d58f9734d2dc238e6ba31383adc86d1757e15
BLAKE2b-256 checksum
How to use checksums
98c3afabeef5c0d83e4cd232190ad118271138a5d3ec5a06bb91dd8c64a01679
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

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

Download URL pyfrf-1.5.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecdc4d1b99c8717b56d57ba9c9f5137d7187d013f1161202f8a0debaaee6e280
BLAKE2b-256 checksum
How to use checksums
eca7fb5bbfa05f7f4a044b27d69f4ee0f2063c2b9973a7af57af397c96b4fe80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.1

2 release files

1.1

2 release files

0.43

2 release files

0.42

2 release files

0.41

2 release files

0.40

2 release files

0.39

2 release files

0.38

2 release files

0.37

1 release file

0.36

1 release file

0.35

1 release file

0.34

1 release file

0.32

1 release file

0.31

1 release file

0.30

1 release file

0.24

1 release file

0.3

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.1.3

1 release file

0.1.2

1 release file

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