|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
About McXtrace Documentation |
3.3 The Source_div McXtrace ComponentRelease: McXtrace 0.1 X-ray source with Gaussian or uniform divergence
Identification
DescriptionA flat rectangular surface source with uniform or Gaussian divergence profile and focussing. If the parametere gauss is not set (the default) the divergence profile is flat in the range [-focus_ax,focus_ay]. If gauss is set, the focux_ax,focus_ay is considered the standard deviation of the gaussian profile. Currently focussing is only active for flat profile. The ”focus window” is defined by focus_xw,focus_yh and dist. The spectral intensity profile is uniformly distributed in the energy interval defined by e0+-dE/2 or by wavelength lambda0+-dlambda/2 Example: Source_div(xwidth=0.1, yheight=0.1, focus_aw=2, focus_ah=2, E0=14, dE=2, gauss=0)
Input parametersParameters in boldface are required; the others are optional.
Links
A continuous source with specified divergenceSource_div is a rectangular source, \(w \times h\), which emits a beam of a specified divergence around the direction of the \(z\)-axis. Just as for Source_pt, if a spectrum_file is not supplied, the xray is given a weight which is the total wavelength-integrated intensity downscaled by the solid angle subtended by the defining aperture and the energy/wavlength spectrum is centered around E0 or \(\lambda 0\) with width dE or \(d\lambda \) respectively. The profile is Gaussian if gauss\(\neq 0\), uniform if gauss\(=0\), If a spectrum_file is supplied, a slightly different strategy is adopted. In this case the wavelength/energy range implied by the datafile is sampled unformly and each ray is assigned a weight corresponding to the intensity indicated by linear interpolation between datapoints at that wavelength. This implies an oversampling of weak parts of the intensity spectrum. The beam intensity is uniform over the whole of the source and the source divergences are focus_ah and focus_aw in degrees. Unless gauss_a\(\neq =0\) the individual photons are sampled from a uniform divergence distribution, otherwise a Gaussian is used. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||