Guide to Non-linear Dynamics in Accelerator Physics/Computer Codes
This chapter provides description of available computer codes.
pytpsa
editpytpsa is a python library aim at providing a user friendly environment for testing, developing, rediscovering algorithm useful in non linear dynamics by means of truncated power series.
It uses the following classes:
pol
editp1=pol('x',order=5) p2=pol('y**2,order=3) print p1+p2 print p1*p2 + 1 print (p1**20).table
polmap
editm= polmap(x='x+x**2',y='y+2*x') print p2(m)