pysrw.lib.srwlpy

pysrw.lib.srwlpy#

srwlpy module is Python binding of Synchrotron Radiation Workshop (SRW) Library

Functions

CalcElecFieldGaussian

CalcElecFieldGaussian() Calculates Electric Field (Wavefront) of a coherent Gaussian Beam

CalcElecFieldPointSrc

CalcElecFieldPointSrc() Calculates Electric Field (Wavefront) of a spherical wave

CalcElecFieldSR

CalcElecFieldSR() Calculates Electric Field (Wavefront) of Synchrotron Radiation by a relativistic charged particle traveling in external 3D magnetic field

CalcIntFromElecField

CalcIntFromElecField() Calculates/extracts Intensity from pre-calculated Electric Field

CalcMagnField

CalcMagnField() Calculates (tabulates) 3D magnetic field created by multiple elements

CalcPartTraj(...)

CalcPartTrajFromKickMatr

CalcPartTrajFromKickMatr() Calculates charged particle trajectory from an array of kick matrices

CalcPowDenSR

CalcPowDenSR() Calculates Power Density distribution of Synchrotron Radiation by a relativistic finite-emittance electron beam traveling in arbitrary magnetic field

CalcStokesUR

CalcStokesUR() Calculates Stokes parameters of Synchrotron Radiation by a relativistic finite-emittance electron beam traveling in periodic magnetic field of an undulator

CalcTransm

CalcTransm() Calculates / sets up transmission object for complicated cases, such as simulation of scattering from a set of 3D nano-objects

ProcElecField(...)

PropagElecField

PropagElecField() "Propagates" Electric Field Wavefront through Optical Elements and free space

ResizeElecField

ResizeElecField() "Resizes" Electric Field Wavefront vs transverse positions / angles or photon energy / time

ResizeElecFieldMesh

ResizeElecFieldMesh() "Resizes" Electric Field Wavefront vs transverse positions / angles or / and photon energy / time according to given mesh parameters

SetRepresElecField

SetRepresElecField() Changes Representation of Electric Field: coordinates<->angles, frequency<->time

UtiConvWithGaussian(...)

UtiFFT(...)

UtiIntInf

UtiIntInf() Calculates basic statistical characteristics of intensity distribution

UtiIntProc

UtiIntProc() Performs misc.

UtiUndFindMagFldInterpInds

UtiUndFindMagFldInterpInds() Finds indexes of undulator gap and phase values and associated magnetic fields requiired to be used in field interpolation based on gap and phase

UtiUndFromMagFldTab

UtiUndFromMagFldTab() Attempts to create periodic undulator structure from tabulated magnetic field

UtiVer

UtiVerNo() Returns version number / ID of SRW for Python