Guide to Non-linear Dynamics in Accelerator Physics/Computer Codes
From Wikibooks, open books for an open world
This chapter provides description of available computer codes.
pytpsa [edit]
pytpsa 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 [edit]
p1=pol('x',order=5)
p2=pol('y**2,order=3)
print p1+p2
print p1*p2 + 1
print (p1**20).table
polmap [edit]
m= polmap(x='x+x**2',y='y+2*x') print p2(m)
This page may need to be