inel_flat_plate_v1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
inel_flat_plate_v1 [2009/09/25 05:30] – ianmadsen | inel_flat_plate_v1 [2022/11/03 15:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Inel Flat Plate Correction ====== | ||
+ | Macro below performs corrections necessary for an inel flat plate system. | ||
+ | |||
+ | <code topas> | ||
+ | macro Inel_Flat_Plate_V1(alpha, | ||
+ | ' Version by Ian Madsen CSIRO Minerals | ||
+ | ' Equations for correction of intensity and sample displacement for flat plate samples | ||
+ | ' in fixed incident beam geometry e.g. when using the Inel CPS120 position sensitive detector | ||
+ | ' Intensity correction derived from Toraya et al. (1993) | ||
+ | ' Sample displacement model derived by Ian Madsen | ||
+ | ' alpha = angle between incident beam and sample surface | ||
+ | ' 2Theta = (alpha + beta) | ||
+ | ' | ||
+ | ' sd = sample displacement (in same units as detector radius) | ||
+ | ' Rs = 250mm for the Inel CPS120 detector - Rs must be defined in the input file | ||
+ | { | ||
+ | local alpha alpha_val | ||
+ | local sd sd_val | ||
+ | |||
+ | | ||
+ | | ||
+ | } | ||
+ | </ |
inel_flat_plate_v1.txt · Last modified: 2022/11/03 15:08 by 127.0.0.1