Endaq

Latest version: v1.5.3

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.5.3

A very minor update.
* Fixed Pandas and Numpy deprecated data types and method names.
* Updated documentation generation.
* Small requirement-related fixes.

**Full Changelog**: https://github.com/MideTechnology/endaq-python/compare/1.5.2...1.5.3

1.5.1

This is a maintenance release for 1.5.0, addressing a small number of specific issues.

Changes:
* Retrieval of file metadata in `endaq.plot.plots.table_plot_from_ide()` made less brittle.
* Reverted to the old name of `scipy.integrate.cumulative_trapezoid()` for broader SciPy version compatibility.

1.5.0

endaq-python 1.5.0 is the culmination of 4 months of hard work to round out the library for general-purpose shock and vibration data analysis and visualization. It contains many new functions, numerous bug fixes, better documentation, and improved testing coverage. All users are encouraged to upgrade to this new release.

New Features
- `calc.fft.rolling_fft()` to calculate FFTs across many different time segments, either evenly spaced or discretely defined
- `calc.psd.rolling_psd()` to calculate PSDs across many different time segments, either evenly spaced or discretely defined
- `calc.psd.spectrogram()` a wrapper around `scipy.signal.spectrogram()` for an easier interface when working with dataframes with multiple channels
- `calc.rotation.quaternion_to_euler()` to convert quaternion data to euler angles (this had been in a previous release but wasn't added to the `__init__.py` file or the docs)
- `calc.shock.rolling_shock_spectrum()` to calculate a shock spectrum across many different time segments, either evenly spaced or discretely defined
- `calc.stats.shock_vibe_metrics()` to calculate a variety of shock and vibration metrics from a time series, such as peak, RMS, RMS within frequency ranges, integrated velocity & displacement metrics and more, example included in docstring
- `calc.stats.find_peaks()` to find peak indexes from a time series based on the overall RMS or peak of the signal if an explicit threshold isn't defined, example included in the docstring
- `calc.stats.rolling_metrics()` to calculate shock & vibration metrics across many different time segments
- `calc.utils.convert_units()` to apply unit conversions to scalers or dataframes using the `pint` library
- `ide.get_utc_offset()` to find the UTC offset of an IDE file, this is used to also allow `ide.to_pandas()` to return datetime indexes with a defined or implied timezone
- `plot.spectrum_over_time()` to visualize the rolling spectrum function outputs and batch outputs as heatmaps, animations, waterfall & surface plots and more, includes some examples in the docs
- `plot.pvss_on_4cp()` to plot on shock spectrum on 4 coordinate plot paper which includes the diagonal lines to define displacement and acceleration, includes some examples in the docs
- `plot.table_plot()` to generate a plotly table figure from a dataframe, includes some examples in the docs
- `plot.table_plot_from_ide()` to summarize an IDE file into a plotly table figure, includes some examples in the docs

Fixes / Changes
- `calc.fft.aggregate_fft()` now defaults to overlap between segments of 50%
- `calc.shock.shock_spectrum()` now doesn't require a definition of the natural frequencies to calculate the response from, it will define these from other parameters that have default values
- `calc.shock.shock_spectrum()` will limit the calculation to `max_time` around the peak event, this is defaulted to 2 seconds but can be disabled by setting it to `None`
- `calc.utils.resample()` fixed a bug with datetimes and includes an index name in the returned dataframe
- `plot.get_map() fixed a bug with latitude and longitude definition, also added an example in the docs
- `plot.octave_spectrum()` updated to use `plot.spectrum_over_time()`
- `plot.rolling_min_max_envelope()` changed defaults to plot as bars and for a larger number of points, also added an example in the docs
- various other docs improvements and testing coverage expansion


**Full Changelog**: https://github.com/MideTechnology/endaq-python/compare/1.4.0...1.5.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.