converting_q_data_files_to_2th_data_files
Differences
This shows you the differences between two versions of the page.
converting_q_data_files_to_2th_data_files [2021/07/29 15:44] – created alancoelho | converting_q_data_files_to_2th_data_files [2022/11/03 15:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | On the bottom of the web page http:// | ||
+ | q-to2th converts QI files to XY files; it can be run from the command line as follows: | ||
+ | |||
+ | | ||
+ | |||
+ | where | ||
+ | |||
+ | #wavelength is a number corresponding to the wavelength in Angstroms | ||
+ | |||
+ | \some-directory\*.qi identifies the files | ||
+ | |||
+ | -correct multiplies the y values by (4 Pi / Lam) Cos(Th), or, the y values are corrected such that: | ||
+ | |||
+ | I(2 Th) = I(Q) dQ / d2Th | ||
+ | |||
+ | the y values are then normalized such that: | ||
+ | |||
+ | Sum[ |y_new| ] = Sum[ |y_old| ] | ||
+ | |||
+ | -remove-old-ext removes the current extension (ie. QI) and replaces it with XY. | ||
+ | |||
+ | -correct and -remove-old-ext are optional. If -correct is not present then no correction is made. If -remove-old-ext is absent then an XY extension is append to the file names. | ||
+ | |||
+ | -correct should be used if the data was in fact collected with equal Q steps. If it was collected with equal 2Th steps and if no correction was applied to the RAW data then do not apply -correct. | ||
+ | |||
+ | --- // |
converting_q_data_files_to_2th_data_files.txt · Last modified: 2022/11/03 15:08 by 127.0.0.1