Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ds_capillary_sd [2010/10/19 04:14]
rowlesmr added a ' to get the code colour back to normal
ds_capillary_sd [2020/07/16 11:29]
Line 1: Line 1:
-<code topas>''​2 theta correction due to displacement of capillary from centre of circle in Debye-Scherrer geometry +
-macro DS_Capillary_SD(x_offset,​ x_val, y_offset, y_val) +
-+
-         local x_offset x_val +
- local y_offset y_val +
- th2_offset = ((Rad x_offset * Sin(2 Th)) - (Rad y_offset * Cos(2 Th))) / Rs; +
- }</​code>​+

Personal Tools