pysrw.lib.srwlib.srwl_opt_setup_Hartmann_sensor_dev#
- pysrw.lib.srwlib.srwl_opt_setup_Hartmann_sensor_dev(_per_x, _per_y, _hole_nx, _hole_ny, _hole_sh, _hole_dx, _hole_dy=0, _hole_ang=0, _ang=0, _delta=0, _atten_len=1e-12, _thick=None, _nx=1001, _ny=1001, _rx=0, _ry=0, _e_start=0, _e_fin=0, _xc=0, _yc=0)[source]#
Setup Transmission type Optical Element which simulates a Harmann sensor, i.e. mask array/matrix for at-wavelength metrology. :param _per_x: hole placing period in horiz. direction [m] :param _per_y: hole placing period in vert. direction [m] :param _hole_nx: number of holes in x-direction :param _hole_ny: number of holes in y-direction :param _hole_sh: hole shape (0- elliptical, 1- rectangular) :param _hole_dx: hole size in horiz. direction (before rotation) [m] :param _hole_dy: hole size in vert. direction (before rotation) [m] :param _hole_ang: tilt/rotation angle of each hole around its center [rad] :param _ang: tilt/rotation angle of entire sensor/mask around (_xc, _yc) [rad] :param _delta: refractive index decrement (can be one number of array vs photon energy) :param _atten_len: attenuation length [m] (can be one number of array vs photon energy) :param _thick: thickness of mask/sensor [m] :param _nx: number of points in horiz. direction to represent the transmission object :param _ny: number of points in vert. direction to represent the transmission object :param _rx: size of the mask/sensor in horiz. direction [m] :param _ry: size of the mask/sensor in vert. direction [m] :param _e_start: initial photon energy (to be used if _delta and _atten_len are arrays) :param _e_fin: final photon energy (to be used if _delta and _atten_len are arrays) :param _xc: horizontal coordinate of the mask center [m] :param _yc: vertical coordinate of the mask center [m] :return: transmission (SRWLOptT) type optical element which simulates the Harmann sensor