#create file myaperture.dat needed for source optimization
f = open("myaperture.dat",'w')
f.write("       3150.1000      -0.015    0.015  -0.015  0.015")
f.close()
print("File written to disk: myaperture.dat")