abs_lobanov
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| abs_lobanov [2022/11/03 15:08] – external edit 127.0.0.1 | abs_lobanov [2025/09/19 15:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | for | ||
| ====== Lobanov Absorption Correction for TOF Neutrons ====== | ====== Lobanov Absorption Correction for TOF Neutrons ====== | ||
| Line 13: | Line 14: | ||
| Absorption is angle-dependent. For more conventional TOF instruments with multiple detector banks such as HRPD, two_theta (and maybe Lf) will differ for each bank by using ' | Absorption is angle-dependent. For more conventional TOF instruments with multiple detector banks such as HRPD, two_theta (and maybe Lf) will differ for each bank by using ' | ||
| + | <code topas> | ||
| + | /* this is a comment */ | ||
| | | ||
| local !two_theta 145 | local !two_theta 145 | ||
| Line 24: | Line 27: | ||
| local mu 0 min 0 | local mu 0 min 0 | ||
| Abs_Lobanov | Abs_Lobanov | ||
| + | | ||
| macro Abs_Lobanov | macro Abs_Lobanov | ||
| { | { | ||
| - | prm !Lf 60.183 | + | prm !Lf 60.183 |
| - | prm !h_bar 6.626176e-34 | + | prm !h_bar 6.626176e-34 |
| - | prm !m_n 1.67495e-27 | + | prm !m_n 1.67495e-27 |
| prm !td_const = 10^4 h_bar/(m_n Lf); | prm !td_const = 10^4 h_bar/(m_n Lf); | ||
| local !sintheta = Sin(Deg_on_2 two_theta); | local !sintheta = Sin(Deg_on_2 two_theta); | ||
| Line 45: | Line 49: | ||
| ); | ); | ||
| } | } | ||
| + | </ | ||
abs_lobanov.1667488126.txt.gz · Last modified: 2025/09/19 15:11 (external edit)