tof_powder_extinction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tof_powder_extinction [2016/11/04 12:50] – pamwhitfield | tof_powder_extinction [2022/11/03 15:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== TOF_Powder_extinction ====== | ||
+ | Description: | ||
+ | Comment: extinction for TOF powder data; value = mosaic block size in micron^2 | ||
+ | |||
+ | lambda is the TOF-dependent wavelength calculated in the Lobanov TOF absorption macro | ||
+ | |||
+ | Contributed by: Pamela Whitfield | ||
+ | |||
+ | macro TOF_Powder_extinction(c, | ||
+ | # | ||
+ | If_Prm_Eqn_Rpt(c, | ||
+ | local !xx = CeV(c,v) (lambda I_no_scale_pks / Get(cell_volume))^2; | ||
+ | local !Eb = 1/Sqrt(1 + xx); | ||
+ | local !El = If(xx < 1, | ||
+ | 1 - xx/2 + xx^2/4 - (5 xx^3)/48, | ||
+ | Sqrt(2/ | ||
+ | ); | ||
+ | scale_pks = 1/(Eb Sin(two_theta Deg_on_2)^2 + El Cos(two_theta Deg_on_2)^2); | ||
+ | } |
tof_powder_extinction.txt · Last modified: 2022/11/03 15:08 by 127.0.0.1