what the overall code is supposed to accomplish

My main concern is that I’m not sure what the overall code is supposed to accomplish. For example, it looks like the demo.py generates plots, but what is the intended purpose of the ard_gap_filler.py script?