debye-scherrer_specimen_displacement
Differences
This shows you the differences between two versions of the page.
debye-scherrer_specimen_displacement [2012/01/03 00:10] – created rowlesmr | debye-scherrer_specimen_displacement [2022/11/03 15:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This is a macro to correct for capillary specimen displacement in Debye-Scherrer geometry | ||
+ | |||
+ | |||
+ | <code topas> | ||
+ | /* | ||
+ | Debye-Scherrer correction for a non-concentric capillary placement. | ||
+ | |||
+ | This follows the maths of K&A and describes the offset in polar coordinates. | ||
+ | The normal " | ||
+ | The normal " | ||
+ | */ | ||
+ | macro Debye-Scherrer_Specimen_Displacement { DSSD } | ||
+ | macro DSSD(u, u_v) { DSSD(u, u_v,,90) } '' | ||
+ | macro DSSD(u, u_v, s, s_v) | ||
+ | { | ||
+ | # | ||
+ | # | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | '' | ||
+ | '' | ||
+ | | ||
+ | }</ | ||