BW1

For a given energy ONLINE calculates an optimum gap size by a linear interpolation on calibration data. The following commands allow the user to specify whether he wants to use the third or fourth harmonic for energy scans.

ONLINE$>$ harmonic = 3
ONLINE$>$ harmonic = 4

Data are available from 9194 eV to 15240 eV for the third harmonic, for the fourth from 11800 eV to 15670 eV. If the requested energy is above or below these ranges, ONLINE sets the gap size to the corresponding maximum or minimum value.

The function

ONLINE$>$ $*$ = calc_gap(energy_value)

returns the gap size for the specified energy [eV].