fixed_incident_beam
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| fixed_incident_beam [2010/10/18 23:31] – added links to papers rowlesmr | fixed_incident_beam [2025/09/19 15:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | ====== Fixed Incident Beam Corrections (asymmetric reflection) ====== | ||
| + | |||
| + | This is a collection of macros that are used to model the effects of a flat plat sample with a fixed angle incident beam (asymmetric reflection). | ||
| + | |||
| + | There is a (nice) overview of their application in [1]. Individual references are given for each macro. | ||
| + | |||
| + | Contributor: | ||
| + | |||
| + | |||
| + | [1] [[http:// | ||
| + | |||
| + | |||
| + | ===== Fixed_Incident_Beam_Thick_Sample_Correction ===== | ||
| + | |||
| + | A container macro required to correct for peak intensity and peak shift for thick samples when in flat plate, fixed incident beam geometry. If you are using a parallel incident beam, then you would also probably want to use [[fixed_incident_beam# | ||
| + | <code topas> | ||
| + | macro Fixed_Incident_Beam_Thick_Sample_Correction { FIBTSC } | ||
| + | macro FIBTSC(alpha_v) { FIBTSC(, alpha_v,,0) } | ||
| + | macro FIBTSC(alpha_v, | ||
| + | macro FIBTSC(alpha, | ||
| + | { | ||
| + | Fixed_Incident_Beam_Thick_Sample_Intensity_Correction(alpha, | ||
| + | Fixed_Incident_Beam_Peak_Position_Correction(alpha, | ||
| + | }</ | ||
| + | |||
| + | |||
| + | Scales the intensity for a thick sample in fixed incident beam geometry | ||
| + | Must be used in conjunction with Fixed_Incident_Beam_Peak_Position_Correction if you want to model sample displacement. This macro doesn' | ||
| + | Ref: [[http:// | ||
| + | <code topas> | ||
| + | { | ||
| + | # | ||
| + | | ||
| + | |||
| + | | ||
| + | IF (2 Th) < CeV(alpha, alpha_v) Deg THEN | ||
| + | | ||
| + | ELSE | ||
| + | 2 / (1 + (Sin(CeV(alpha, | ||
| + | ENDIF; | ||
| + | }</ | ||
| + | |||
| + | |||
| + | Models sample displacement as required for a flat plate in fixed incident beam geometry. Valid for both thick and thin samples.\\ | ||
| + | Ref: [[http:// | ||
| + | <code topas> | ||
| + | { | ||
| + | # | ||
| + | # | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | IF CeV(sd, sd_v) == 0 THEN | ||
| + | 0 | ||
| + | ELSE | ||
| + | -Rad (CeV(sd, sd_v) Sin(2 Th)) / (Rs Sin(CeV(alpha, | ||
| + | ENDIF; | ||
| + | }</ | ||
| + | |||
| + | |||
| + | ===== Fixed_Incident_Beam_Footprint_Correction_With_Mixing ===== | ||
| + | |||
| + | A macro that corrects the peak profile for a flat plate in fixed incident beam geometry, assuming a parallel incident beam and no diffracted optics. Theoretically, | ||
| + | Ref: [[http:// | ||
| + | <code topas> | ||
| + | macro FIBFCWM(alpha_v, | ||
| + | macro FIBFCWM(alpha, | ||
| + | { | ||
| + | # | ||
| + | # | ||
| + | # | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | local width_ = (Sin(2 Th - CeV(alpha, alpha_v) Deg) Rad / Rs) (CeV(beam, beam_v) / Sin(CeV(alpha, | ||
| + | '' | ||
| + | |||
| + | hat = CeV(mix, mix_v) width_; | ||
| + | | ||
| + | }</ | ||
| + | |||
| + | |||
| + | ===== Fixed_Incident_Beam_Thick_Sample_Absorption ===== | ||
| + | |||
| + | Thick Sample absorption correction for fixed incident beam geometry. There is a typo in the delta function in the original reference. It's correct here.\\ | ||
| + | Ref: [[http:// | ||
| + | <code topas> | ||
| + | macro FIBTSA(alpha_v, | ||
| + | macro FIBTSA(alpha, | ||
| + | { | ||
| + | # | ||
| + | # | ||
| + | | ||
| + | | ||
| + | | ||
| + | '' | ||
| + | '' | ||
| + | }</ | ||