endaq-calc - a computational backend for vibration analysis
endaq-calc is a package comprising a collection of common calculations for vibration analysis. It leverages the standard Python scientific stack (NumPy, SciPy, Pandas) in order to enable engineers to perform domain-specific calculations in a few lines of code, without having to first master Python and its scientific stack in their entireties.
endaq-calc is a sub-package of the larger enDAQ ecosystem. See the endaq package for more details.
Installation
endaq-calc is available on PYPI via pip:
pip install endaq-calc
For the most recent features that are still under development, you can also use pip to install endaq-calc directly from GitHub:
pip install git+https://github.com/MideTechnology/endaq-python-calc.git@development
Usage Examples
import endaq.calc.filters
import endaq.calc.integrate
import endaq.calc.psd
import endaq.calc.shock
Filters
df_accel_highpass = endaq.calc.filters.butterworth(df_accel, low_cutoff=1, high_cutoff=None)
df_accel_lowpass = endaq.calc.filters.butterworth(df_accel, low_cutoff=None, high_cutoff=100)
Integration
dfs_integrate = endaq.calc.integrate.integrals(df_accel, n=2, highpass_cutoff=1.0, tukey_percent=0.05)
PSD
Linearly-spaced
df_accel_psd = endaq.calc.psd.welch(df_accel, bin_width=1/11)
Octave-spaced
df_accel_psd_oct = endaq.calc.psd.to_octave(df_accel_psd, fstart=1, octave_bins=3)
Derivatives & Integrals {#derivatives--integrals}
df_vel_psd = endaq.calc.psd.differentiate(df_accel_psd, n=-1)
df_jerk_psd = endaq.calc.psd.differentiate(df_accel_psd, n=1)
Vibration Criterion (VC) Curves
df_accel_vc = endaq.calc.psd.vc_curves(df_accel_psd, fstart=1, octave_bins=3)
Shock Analysis
df_accel_pvss = endaq.calc.shock.shock_spectrum(df_accel, freqs=2 ** np.arange(-10, 13, 0.25), damp=0.05, mode="pvss")
df_accel_srs = endaq.calc.shock.shock_spectrum(df_accel, freqs=[1, 10, 100, 1000], damp=0.05, mode="srs")
Shock Characterization: Half-Sine-Wave Pulse
half_sine_params = endaq.calc.shock.enveloping_half_sine(df_accel_pvss, damp=0.05)
Other Links
- the endaq package - https://github.com/MideTechnology/endaq-python
- the enDAQ homepage - https://endaq.com/
Metadata
Release files for endaq-calc 1.1.0.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| endaq-calc-1.1.0.post2.tar.gz | 14.3 kB | Without provenance | Details for endaq-calc-1.1.0.post2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| endaq_calc-1.1.0.post2-py3-none-any.whl | Python 3 | none | any | Details for endaq_calc-1.1.0.post2-py3-none-any.whl |
Total release size: 29.8 kB
Release files / endaq-calc-1.1.0.post2.tar.gz
| Download URL | endaq-calc-1.1.0.post2.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e5aa3b8c9761407ceac165b52bdb8516cd1dcfee7c6a561cceff7db67bc902b
|
|
BLAKE2b-256 checksum How to use checksums |
488cd3cc474f32b75a8d695b9279557a25d9fa067134a2724efd619d4868616d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / endaq_calc-1.1.0.post2-py3-none-any.whl
| Download URL | endaq_calc-1.1.0.post2-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f89b60d1bd6cef29b9abe7675d560c5c8f2d697fa3f08e98847c44300490963
|
|
BLAKE2b-256 checksum How to use checksums |
956912a16af06c768d3d668afa1eb739ddf8499f5a8a4ac12106a903afa55d87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for endaq-calc 1.1.0.post2
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.