This script calculates the numerical FOM as a function of electron offset frequency.

The pulse.dat file defines the pulse waveform. All pulses have the same duration and the microwave amplitudes are defined in MHz. The first column defines the x phase amplitude and the second column defines the y phase amplitude. Please keep the format as [numeric value][space][numeric value][endline], as the code may not handle exceptions very well.

The par.dat file defines the simulation parameters. Please only change the numeric values and don't add additional lines, as the code may not handle exceptions very well.

To run, only modify the files and execute it with ./fom_eval

Tested on Ubuntu 22.04.4 LTS
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
ldd (Ubuntu GLIBC 2.35-0ubuntu3.8) 2.35
