Mtfreadr
From Eigenvector Documentation Wiki
Visited: Mtfreadr
Contents |
Purpose
Read / Import AdventaCT Multi-Trace Format (MTF) files.
Synopsis
- data = mtfreadr(filename,combine)
- [data,lotinfo] = mtfreadr(filename,combine)
Description
Generic reader for AdventaCT Multi-Trace Format (MTF) files. Input is an optional filename filename If omitted, user is prompted to locate file. An optional input combine is a string instructing how to combine multiple traces found in the mtf file:
- 'none' : returns a cell array containing datasets formed from each of the separate traces located in the MTF file.
- 'truncate' : {default} truncates all traces to the shortest trace's length.
- 'pad' : pads all traces with NaN's to the longest trace's length.
- 'stretch' : uses linear interpolation to stretch all traces to the longest trace's length.
The output data is either a DSO (3-way DSO if multiple traces were found) or a cell array containing all the trace DSOs. Note that if a given trace does not have a sufficient number of columns in all rows, column contents may be scrambed from the dropped point down. In this situation, a warning will be given.