AP signal processing simulation script