Metadata-Version: 2.1
Name: MistrasDTA
Version: 0.1.2
Summary: Read AEWin acoustic emissions DTA files
Home-page: https://github.com/d-cogswell/MistrasDTA
Author: Dan Cogswell
Author-email: cogswell@alum.mit.edu
License: MIT
Description-Content-Type: text/markdown
License-File: LICENSE

# MistrasDTA
Python module to read acoustic emissions hit data and waveforms from Mistras DTA files. The structure of these binary files is detailed in Appendix II of the Mistras user manual.

# Usage
Read the hit summary table from a DTA file:
```
import MistrasDTA
rec, _ = MistrasDTA.read_bin('cluster.DTA', skip_wfm=True)

```

Read hit summary and waveform data from a DTA:
```
import MistrasDTA
from numpy.lib.recfunctions import join_by

# Read the binary file and join summary and waveform tables
rec, wfm = MistrasDTA.read_bin('cluster.DTA')
merged = join_by(['SSSSSSSS.mmmuuun', 'CH'], rec, wfm)

# Extract the first waveform in units of microseconds and volts
t, V = MistrasDTA.get_waveform_data(merged[0])
```
