Content-type: text/html Manpage of RC2FD


Section: User Commands (1)
Index Return to Main Contents


rc2fd - Converts the rocking curve of the analyzer to the function used in the EDEI.  


rc2fd [OPTIONS...] <RC> <FD>  


I use this program only to develop and debug the EDEI algorithm. If you you are not interested in it, you don't need this program.



Input file containing the RC of the analyzer.
The absence of this option prompts to using the original DEI method.
Text data file which contains the rocking curve of the analyzer in the EDEI experimental setup. Consists of two columns: X- and Y-axis of the RC. i.e. must contain only the lines of the form:

    <RC X-axis> <RC Y-axis>
where both numbers are float point representation of values which are respectively proportional to the RC scan angle and intensity. Note that the RC Y-axis does not have to be the scan angle (it can be motor pulses, encoder value, etc.), it only must be proportional to the scan angle. The same Y-azis does not have to be the reflectivity, but only must be proportional to it. However, if you want to have not only quantitative, but qualitative results (i.e. the results which represent the refraction index itself, not a value proportional to it), you should provide RC with exact data: X-axis in radians and Y-axis in reflectivity.
File containing processed RC used inside the EDEI.
The EDEI algorithm (described in "A. Maksimenko, Nonlinear extension of the x-ray diffraction enhanced imaging, Appl. Phys. Lett. 90, 154106 (2007)") makes use of the function derived from the RC of the analyzer (see function $F^{-1}$ defined in eq.(3)). The file assumes one virtual axis X which represents the value $x=(I_L-I_H)/(I_L-I_H)$ and can be constructed from the number of the line (n) in the file as follows: $x=2*(n-1)/(N-1)-1$, where N is the total number of lines in the file. The file itself must consist only of the strings of the form:

    <alpha> <LH>
where both elements are the floating-point numbers and <alpha> is the $lpha(x)=F^{-1}(x)$, while <LH> is the combination of the reflectivities on the low- and high-angle side of the RC $I_L+I_H$ in the corresponding $lpha(x)$ position.



EDEI processing options.

Options which influence the component extraction via the EDEI method.
-m, --minus-point=FLOAT
Value determining the minus-point.
-p, --plus-point=FLOAT
Value determining the plus-point.
Options "-m, --minus-point" and "-p, --plus-point". Defaults to 0.5.

  The meaning of the value is defined by the -I|--meaning option.
-I, --meaning=STRING
Meaning of -m, --minus-point and -p, --plus-point options.
Defaults to "REFLECTIVITY". Can be one of the following strings (case insensitive):

  "A", "ALPHA" -  Sets the meaning of the +/- values to the angle lpha. I.e. finds the given value on the lpha axis of the RC (first column in the input RC file) and sets the position to the found point.

  "N", "NUMBER" - Sets the meaning of the +/- values to the RC index. Converts values to integer and considers them as the index on the RC's lpha axis. In other words the given values represent the string in the RC file which corresponds to the position.

  "I", "INTENSITY" - Sets the meaning of the +/- values to the intensity. I.e. finds the given value on the intensity axis of the RC (second column in the input RC file) and sets the position to the found point.

  "R", "REFLECTIVITY" - Sets the meaning of the +/- values to the reflectivity. Similar to "INTENSITY", but normalizes the intensities and interprets the values as the normalized ones.
-S, --scale=FLOAT
Data-to-angle conversion coefficient.
Defaults to 1.0.
Multiplication of this coefficient by the value in the first column of the rocking curve data file gives the actual angle in radians.
-F, --filter-rc
Smooth RC to avoid non-monotonous parts.
The rocking curve in real experiment is never ideal and includes noise. If this option is used, the data of the rocking curve are first smoothed using very primitive algorithm. If you need some advanced smoothing algorithm, pre-process the data before using them.

Standard options.

-v, --verbose
Verbose output.
-?, --usage
Outputs brief usage message.
-h, --help
Outputs help message.
When combined with the "-v|--verbose" option may output more detailed message.



ctas(1), ctas-bg(1), ctas-ct(1), ctas-ct-abs(1), ctas-ct-dei(1), ctas-ct-edei(1), ctas-ct-ipc(1), ctas-dei(1), ctas-edei(1), ctas-ipc(1), ctas-f2i(1), ctas-ff(1), ctas-sino(1), ctas-sino-abs(1), ctas-sino-dei(1), ctas-sino-ipc(1), ctas-ts(1), ctas-ct-line(1)



EDEI processing options.
Standard options.

This document was created by man2html, using the manual pages.
Time: 06:49:20 GMT, July 29, 2010