find_max()

find_max(scan_id)

The symbol OUTPUT is set to the x-values of scan_id (see the example below). The symbol SIGNAL is evaluated at each point. The return value is stored in the y-column of scan_id.

find_max() returns the x-value of the highest point.
e.g.:
create sc1 5 10 100
signal = [vfc(c1,t1,0.1)]
output = [move mot22/abs/unit]
* = find_max( sc1)

See the SPECTRA manual for details about the SSA command which can be used to extract more information from the measured data.