For each specified run, it produces a file (using the run name with "-wfa.txt" appended) that exports the waveform amplitudes for all waveforms specified by the -w option. (These waveform numbers should be separated by commas, but must all be in a single command-line argument, so no spaces unless the whole list is within quotes.) The file is a number of lines of comma-separated values, with the first number on each line being the position within the normalized cycle (range 0-1), and all subsequent numbers being the waveform amplitudes for each specified waveform. These are raw values grouped by cycle, with a blank line between each cycle. So the file will have as many groups of lines as there are cycles in the selected analysis range for that run (as specified in the run's analysis parameter file).
Additionally, for each waveform in each run, the script produces a plot file named runfile-wfa-wnn.plt, which plots the averaged waveform amplitude (vs normalized cycle) with mean and standard deviation curves shown, and area under the curve calculated and displayed (based on the autoscaled baseline).
The runfile arguments specify one or more run file names to be measured (no default, runfile must be specified).
Output will be of the form:
where time is a number between 0 and 1, for the position in a normalized cycle, and voltage values (in mV by default) are given for all selected waveforms. There will be multiple groups of these, separated by blank lines, for each cycle in a given run. In the case where multiple waveforms are included and they have different sampling rate divisors, only the samples that all line up at the same time value appear in the output, so the output will be at the base sampling rate divided by the least common multiple of all the divisors of the included waveforms.
A comma-separated text file of that form is generated for each runfile specified. Also, a plot of the averaged waveform amplitude is produced for each exported waveform in each runfile.