Download McStas Component manual
Transcript
Figure 8.7: The probability functions extracted from S(q, ω). The energy transfer is first selected from the density of states gω , then the wavevector is obtained from gq (ω). Drawing probabilities from S(q, ω) The main idea to implement the scattering from S(q, ω) is to basically make two consecutive Monte Carlo choices, applying the well known joint probability theorem: P (q ∩ ω) = P (ω).P (q | ω). (8.53) Thus we define P (ω) as the cumulated distribution (primitive) of the density of states gω (ω): Z ω gω (ω 0 )dω 0 (8.54) P (ω) = 0 The function P (ω) is the probability for an excitation to have an energy lower than ω. Similarly, we define the conditional probability P (q | ω) to be, for each energy lying between ω and ω + dω: gq (q | ω) = P (q | ω) = R Z 0 S(q, ω) S(q, ω)dq q gq (q 0 | ω)dq 0 (8.55) (8.56) The former gq is the density of wavevector transfers for a selected energy transfer, and the latter P (q | ω) is the probability for an excitation to have a wavevector lower than q, for a given energy transfer ω. These probability distributions gω and gq implement importance sampling for scattering, ’directing’ neutron events to high S(q, ω) regions. 8.6.3 The method Choosing the interaction type The method used is similar to the one adopted in the Single_crystal component (section 8.3). 92 Risø–R–1538(EN)