Library of functions to retrieve data generated by Vallen Acoustic Emission system software: .pridb (waveform features) and .tradb (full transients) files. Some processing- and filtering functions are also included. This function library is developed for myself and is shared as-is. Though all functions are in working order and are documented to a basic level, they are not necessarily elegant or robust.
Contains functions to retrieve waveform feature data from .pridb files and complete transient waveforms from .tradb files.
returns Pandas dataframe with AE hits and their waveform features. Amplitudes are converted to [dB], consistent with their representation in the VallenAE system software.
returns numpy array with a complete transient waveform on each row; row 0 is the time axis
returns DataFrame df containing the AE hits and their waveform features, with appended spectral partial power feature columns ['Ef_95_150', 'Ef_150_250', 'Ef_250_350', 'Ef_350_500', 'Ef_500_850'], calculated from the full transient recordings. An assumption of 2048 samples at 2.0 MHz is hard-coded in this function.
Set of filtering functions. pridb_filters.apply_filters(DataFrame df, str test_id) can be called to apply a predetermined set of filters, retrieving filter parameters from a config file: pridb_filter_config.ini, where each section must represent a test_id.
Individual filters can also be called, passing filter parameters as arguments.
Numpy, scipy, pandas, sqlite3, progress