Python scripts to simulate a phased array.