pysrw.lib.srwlib.SRWLRadMesh#
- class pysrw.lib.srwlib.SRWLRadMesh(_eStart=0, _eFin=0, _ne=1, _xStart=0, _xFin=0, _nx=1, _yStart=0, _yFin=0, _ny=1, _zStart=0, _nvx=0, _nvy=0, _nvz=1, _hvx=1, _hvy=0, _hvz=0, _arSurf=None)[source]#
Bases:
object
Radiation Mesh (Sampling)
- __init__(_eStart=0, _eFin=0, _ne=1, _xStart=0, _xFin=0, _nx=1, _yStart=0, _yFin=0, _ny=1, _zStart=0, _nvx=0, _nvy=0, _nvz=1, _hvx=1, _hvy=0, _hvz=0, _arSurf=None)[source]#
- Parameters:
_eStart – initial value of photon energy (/time)
_eFin – final value of photon energy (/time)
_ne – number of points vs photon energy (/time)
_xStart – initial value of horizontal position (/angle)
_xFin – final value of horizontal position (/angle)
_nx – number of points vs horizontal position (/angle)
_yStart – initial value of vertical position (/angle)
_yFin – final value of vertical position (/angle)
_ny – number of points vs vertical position (/angle)
_zStart – longitudinal position
_nvx – horizontal lab-frame coordinate of inner normal to observation plane (/ surface in its center)
_nvy – vertical lab-frame coordinate of inner normal to observation plane (/ surface in its center)
_nvz – longitudinal lab-frame coordinate of inner normal to observation plane (/ surface in its center)
_hvx – horizontal lab-frame coordinate of the horizontal base vector of the observation plane (/ surface in its center)
_hvy – vertical lab-frame coordinate of the horizontal base vector of the observation plane (/ surface in its center)
_hvz – longitudinal lab-frame coordinate of the horizontal base vector of the observation plane (/ surface in its center)
_arSurf – array defining the observation surface (as function of 2 variables - x & y - on the mesh given by _xStart, _xFin, _nx, _yStart, _yFin, _ny; to be used in case this surface differs from plane)
Methods
__init__
([_eStart, _eFin, _ne, _xStart, ...])- param _eStart:
initial value of photon energy (/time)
copy
()get_dep_type
()is_equal
(_mesh[, _rel_tol, _check_surf])set_from_other
(_mesh)