EXELFS

    Standard
    xkmax

E [aver [cross [relat]]] : beam energy in keV; optional parameters
kx ky kz : beam direction in the crystal frame
$\mathtt{\beta}$ $\mathtt{\alpha}$ : collection semiangle, convergence semiangle (in mrad)
nr na : q-integration mesh : radial size, angular size
dx dy : position of the detector (x,y angle in mrad)

See the ELNES card for a full description of these parameters. Note that xkmax, the maximum k value, is the only parameter immediately following the EXELFS card, unlike ELNES.

The following example simulates an experiment with a 300 keV beam hitting the sample along the y-axis. The detector is set in the forward direction and has a 2.4 mrad (semi-)opening; the width of the incoming beam is 0 mrad. To do the integration over the detector aperture, $5*5*3=75$ points are used. The calculation is relativistic and takes sample to beam orientation into account. Default settings are used for the energy/k-mesh.

ELNES # calculate elnes.
300 # beam energy in keV
0 1 0 # beam direction in the crystal frame
2.4 0.0 # collection semiangle, convergence semiangle (in mrad)
5 3 # q-integration mesh : radial size, angular size
0.0 0.0 # position of the detector (x,y angle in mrad)