TPC5 File Format
The TPC5 file format is used by the data acqusition software TranAX and is based on HDF5.
TranAX is saving trace date, spectral data and TabPages in HDF5 file format. Depending on the data type the file extantion is *.tpc5, *.tps5 or *.tpd. The HDF5 file format was developed at the University of Illinois. The HDF5 specifications and the libraries source codes are open.
More Information on: https://www.hdfgroup.org/
An HDF5 file is composed of groups and datasets to store and organize signal traces. Recording information such as the recording time is saved as attributes which then can be added to the groups.
To ensure an accelerated display view even with large recordings in TranAX, additional signal traces with reduced data sets are included in the file.
Since TranAX version 22.214.171.124 the following settings can be included; the hardware settings, layout configuration, formulas and the used auto sequence.
HDF5 provides also to possibility to compress the data with the gzip compression algorithm. This option can be selected in TranAX.
The software MatLab is capable of importing directly HDF5 files. See the import example for learning how to readout all necessary data and parameters.
More information about MatLab and HDF5 import can be found under the following link: https://mathworks.com/help/matlab/hdf5-files.html
Mathematica Example of importing a TPC5 file.
C++ Example of importing a TPC5 file.
The popularity of the programming language Python is growing very fast. It allows to write complex programs and scripts with just a
few lines of code.
The Python library h5py allows to read TPC5 files. See this example for learning how to access individual parts of the file.