TEAPOT_MATRIX_Lattice#
- class orbit.teapot.TEAPOT_MATRIX_Lattice(teapot_lattice, bunch, name=None)[source]#
Bases:
orbit.matrix_lattice.MATRIX_Lattice.MATRIX_LatticeThe subclass of the MATRIX_Lattice class. Shell class for the BaseMATRIX nodes collection. The TEAPOT_Lattice instance is needed to create the TEAPOT_MATRIX_Lattice instance. The nodes for RF elements are the usual TEAPOT RingRFTEAPOT nodes. The Bunch instance is needed for the MATRIX_Lattice constructor to specify the particle’s energy and other parameters.
Methods Summary
Calculates chromaticities for X,Y planes for the whole ring
Returns the tuple ([(position, dispX),...],[(position,disp_pX),...] ).
Returns the tuple ([(position, dispY),...],[(position,disp_pY),...] ).
Returns the dictionary with different ring parametrs calculated from the one turn transport matrix.
getRingOrbit(z0)Returns the tuple ([(position, X),...],[(position,Y),...] ).
Returns the dictionary with different ring parametrs calculated from the one turn transport matrix.
Returns the tuple (tuneX, [(position, alphaX),...],[(position,betaX),...] ).
Returns the tuple (tuneY, [(position, alphaY),...],[(position,betaY),...] ).
getTransferDispersionDataX(disp, disp_p)Returns the tuple ([(position, dispX),...],[(position,disp_pX),...] ).
getTransferDispersionDataY(disp, disp_p)Returns the tuple ([(position, dispY),...],[(position,disp_pY),...] ).
getTransferTwissDataX(alpha_x, beta_x)Returns the tuple (tuneX, [(position, alphaX),...],[(position,betaX),...] ).
getTransferTwissDataY(alpha_y, beta_y)Returns the tuple (tuneY, [(position, alphaY),...],[(position,betaY),...] ).
rebuild([Ekin])Methods Documentation
- getRingDispersionDataX()[source]#
Returns the tuple ([(position, dispX),…],[(position,disp_pX),…] ). It overloads the getRingDispersionDataX(p,m) method from the parent MATRIX_Lattice class.
- getRingDispersionDataY()[source]#
Returns the tuple ([(position, dispY),…],[(position,disp_pY),…] ). It overloads the getRingDispersionDataY(p,m) method from the parent MATRIX_Lattice class.
- getRingMatrix()[source]#
Returns the dictionary with different ring parametrs calculated from the one turn transport matrix. It overloads the getRingParametersDict(p,m) method from the parent MATRIX_Lattice class.
- getRingOrbit(z0)[source]#
Returns the tuple ([(position, X),…],[(position,Y),…] ). It overloads the getRingTwissDataX(p,m) method from the parent MATRIX_Lattice class.
- getRingParametersDict()[source]#
Returns the dictionary with different ring parametrs calculated from the one turn transport matrix. It overloads the getRingParametersDict(p,m) method from the parent MATRIX_Lattice class.
- getRingTwissDataX()[source]#
Returns the tuple (tuneX, [(position, alphaX),…],[(position,betaX),…] ). It overloads the getRingTwissDataX(p,m) method from the parent MATRIX_Lattice class.
- getRingTwissDataY()[source]#
Returns the tuple (tuneY, [(position, alphaY),…],[(position,betaY),…] ). It overloads the getRingTwissDataY(p,m) method from the parent MATRIX_Lattice class.
- getTransferDispersionDataX(disp, disp_p)[source]#
Returns the tuple ([(position, dispX),…],[(position,disp_pX),…] ). It overloads the getRingDispersionDataX(p,m) method from the parent MATRIX_Lattice class.
- getTransferDispersionDataY(disp, disp_p)[source]#
Returns the tuple ([(position, dispY),…],[(position,disp_pY),…] ). It overloads the getRingDispersionDataY(p,m) method from the parent MATRIX_Lattice class.
- getTransferTwissDataX(alpha_x, beta_x)[source]#
Returns the tuple (tuneX, [(position, alphaX),…],[(position,betaX),…] ). It overloads the getRingTwissDataX(p,m) method from the parent MATRIX_Lattice class.