pysrw.lib.srwlib.SRWLKickM

pysrw.lib.srwlib.SRWLKickM#

class pysrw.lib.srwlib.SRWLKickM(_arKickMx=None, _arKickMy=None, _order=2, _nx=0, _ny=0, _nz=0, _rx=0, _ry=0, _rz=0, _x=0, _y=0, _z=0)[source]#

Bases: object

Kick Matrix (for fast trajectory calculation)

__init__(_arKickMx=None, _arKickMy=None, _order=2, _nx=0, _ny=0, _nz=0, _rx=0, _ry=0, _rz=0, _x=0, _y=0, _z=0)[source]#
Parameters:
  • _arKickMx – horizontal kick-matrix (tabulated on the same transverse grid vs x and y as vertical kick-matrix)

  • _arKickMy – vertical kick-matrix (tabulated on the same transverse grid vs x and y as horizontal kick-matrix)

  • _order – kick order: 1- first order (in this case kick matrix data is assumed to be in [T*m]), 2- second order (kick matrix data is assumed to be in [T^2*m^2])

  • _nx – numbers of points in kick matrices in horizontal direction

  • _ny – numbers of points in kick matrices in vertical direction

  • _nz – number of steps in longitudinal direction

  • _rx – range covered by kick matrices in horizontal direction [m]

  • _ry – range covered by kick matrices in vertical direction [m]

  • _rz – extension in longitudinal direction [m]

  • _x – horizontal coordinate of center point [m]

  • _y – vertical coordinate of center point [m]

  • _z – longitudinal coordinate of center point [m]

Methods

__init__([_arKickMx, _arKickMy, _order, ...])

param _arKickMx:

horizontal kick-matrix (tabulated on the same transverse grid vs x and y as vertical kick-matrix)