[ Identification | Description | Input parameters | Links ]
Reflective_grating
ComponentA reflective grating that diffracts the incident photons. The grating is in the XZ-plane. It then reflects the incoming photon using a MC picked angle, the span of this angle is given by d_phi (default=1) Two modes are possible; 0) Lamellar grating. 1) Blazed grating. Using Lamellar mode, the grating is diffracted using only the incoming and MC angle. Using the Blazed mode, the grating diffracts the photon using the blazed angle. The grating adjusts the weight of the given photon according to its direction based on: 1) The incoming photon. 2) Directional sampling. 3) Outgoing angle. 3) Interference and diffraction patterns. If d_phi=0 and blazed=0, a perfectly reflecting mirror is simulated.
Name | Unit | Description | Default | |
d_phi | deg | Range of diffraction angle that is to be simulated -d_phi/2 ; d_phi/2 . | 1 | |
R0 | Constant reflecticity of the grating [0;1]. | 1 | ||
r_rho | l/mm | Number of lines pr mm of the grating. | 800 | |
b | AA | Width of the spacing i Angstrom. If zero, default is found using r_rho/3. | 0 | |
N_slits | 0 | |||
d | AA | Width of the slits in Angstrom. If zero, default is found using r_rho. | 0 | |
cff | Fixed focus constant for the blazed grating. (Not fully developed yet) | 0 | ||
blazed_angle | 0 | |||
zdepth | m | The length of the grating. | 0.015 | |
xwidth | m | The width of the grating. | 0.136 | |
blazed | If nonzero, on-blazed condition will be used. If zero, lamellar conditions is used. | 0 | ||
display | If non-zero, information will be displayed. Nb. generates much output. | 0 |
AT ( | , | , | ) RELATIVE | |||
---|---|---|---|---|---|---|
ROTATED ( | , | , | ) RELATIVE |
Reflective_grating.comp
.
[ Identification | Description | Input parameters | Links ]
Generated on 2025-03-31 19:18:19