Activity 7: Large clusters and path filtering#
So far you have seen that multiple scattering calculations with MsSpec can use two different algorithms: matrix inversion or Rehr Albers series expansion. When matrix inversion becomes impossible because the kinetic energy is too high and the number of atoms is too large, serial expansion is the alternative. This algorithm requires very little memory but it processes the scattering paths sequentially, which can lead to very long calculation times.
In this activity, we will explore how to configure MsSpec to reduce this calculation time to compute the signal from a deep emitter in Si(001).
The number of scattering paths#
To fix the idea, we will first evaluate how many scattering paths we need to compute for an emitter in the subsurface (2nd plane) or in the bulk (7th plane) of a Si(001) cluster.
Create a cluster of Si(001) with the emitter in the subsurface, 40 Å diameter with 2 planes (since atoms below the emitter can be ignored at high kinetic energies).
For an emitter in the subsurface, we can use single scattering (see Activity 5: Multiple scattering in the forward scattering regime). How many paths would be generated for this calculation ?
Same question for an emitter in the 7th plane. If we were able to treat each scattering path within only 1 µs. How long would be such calculation ?
Note
Remember that
for an emitter in plane \(p\), the scattering order has to be at least the number of planes
above
the emitterThe number of scattering paths of order \(n\) corresponds to the number of possibilities of arranging up to \(n\) atoms (taking order into account).
To get the total number of paths generated by a cluster of \(N\) atoms up to order \(M\), use the following formula:

Fig. 16 The time for computing all scattering path for increasing cluster size and scattering order (up to 6th order with 739 atoms. (One path is assumed to be calculated within 1 µs)#
Paths filtering in MsSpec#
As you may expect, not all paths contribute significantly to the total intensity. This is why we can filter out some scattering paths and drastically reduce the computation time. MsSpec offers several filters for this. The 3 most common filters are:
the
forward_scattering
filter which allows all paths where each scattering angle is within a cone of defined aperturethe
backward_scattering
filter which is similar to the previous one but for backscattering directionthe
distance
filter which rejects all paths longer than a threshold distance
The following figure illustrate the effect of theses filters on scattering paths

Fig. 17 Some examples of scattering paths with forward_scattering
, backward_scattering
and distance
filters selected. The accepted forward angle is 45°, the accepted backscattering angle is 20° and the threshold distance is \(6a_0\) where \(a_0\) is the lattice parameter. Note that the yellow path is rejected but if the off_cone_events
option is set to a value > 1, then it could have been accepted.#
Application to a deep plane in a Si(001) sample#
The following script will compute contribution of all the planes of a Si(001) substrate to get the total photoelectron intensity of a Si(2s) polar scan.
The script is almost completed, try to define path filtering options and compare results with and without filtering for emitter in plane n° 3 at scattering order 2.
Compute the contribution of plane n° 7