ZBFSUM
Sums either coherently or incoherently the data in two ZBF files and places the resulting data in a third ZBF file.
Syntax:
ZBFSUM coherent, filename1, filename2, outfilename
Discussion:
This keyword requires an integer to indicate if the sum is coherent (any value other than zero) or incoherent (zero), and the names of three ZBF files. If an incoherent sum is performed, then the output data will be real valued only. If the two source files do not have the same number of data points, point spacing, and reference radii in both x and y directions, then the second source file listed is first scaled and interpolated, and the reference radii is adjusted, to match the first file before the sum is performed. The length units in the ZBF files are converted automatically to the current lens units. The outfilename may be the same as one of the source file names; in which case the original file is overwritten.
Example:
ZBFSUM 1, "a.ZBF", "b.zbf", "coherent a plus b.zbf" ZBFSUM 0, "a.ZBF", "b.zbf", "incoherent a plus b.zbf" ZBFSUM 0, A$, B$, C$
Next: