|
6 | 6 | This window shows the various sample-dependent parameters for the selected powder pattern. Some are related to the measurement conditions, such as diffractometer setting angles, or the data collection temperature. Others, such as the histogram scale factor, adjust the fit to match the collected data. |
7 | 7 | The presence of a refine button indicates that a parameter can be refined (all others are fixed.) All values shown in this window can be edited. |
8 | 8 |
|
9 | | -Note that the last three parameters (named internally as `FreePrm`*X*, *X*=1,2,3), which are labeled by default as "Sample humidity", "Sample Voltage" and "Applied Load" are fields where the labels that can be changed. If changed in one histogram, the same label is used for all histograms. Thus, a total of six parametric variables are available, |
| 9 | +<a name="SetByName"></a> Note that the last three parameters (named internally as `FreePrm`*X*, *X*=1,2,3), which are labeled by default as "Sample humidity", "Sample Voltage" and "Applied Load" are fields where the labels that can be changed. If changed in one histogram, the same label is used for all histograms. Thus, a total of six parametric variables are available, |
10 | 10 | including the more common variable of temperature, pressure and time. Also, note when a label `FreePrm` is changed to "ParmName", the Comments tree item for each PWDR histogram is searched for a matching "\*ParmName\*=value" or "\*ParmName\*:value" pair (i.e. the string "ParmName" will be looked for within the label+value pairs in the comments, ignoring differences in letter case between the two label strings). Thus if the Sample Parameters label is specified as "focus", then a Comments string of "/Instrument/BeamFocus_at_sample=10" will be matched. When found, the value is converted to a float and saved as the value for the newly-labeled Sample Parameter. Also, note the similar action in the ["Set from comments" command](#SetFromComments), below. |
11 | 11 |
|
12 | 12 | Be sure the correct instrument type is selected (Debye-Scherrer or Bragg-Brentano). Also, ensure the goniometer radius is correct (in mm) so that sample displacements are properly scaled (in μm). |
@@ -49,5 +49,7 @@ The remaining parameters are non-refinable and may be needed for texture or para |
49 | 49 | * **Rescale all** - Allows a series of selected PWDR histograms to be put on a common scale by integrating them over a specific two-theta region and then scaling them so that the integration range will match the first pattern. |
50 | 50 |
|
51 | 51 | * **Set from comments** - <a name="SetFromComments"></a> |
52 | | - The histogram comments section, depending on the importer used to read in the data (or image the data is derived from) often contains values that are recorded on the diffraction instrument. These are commonly recorded as "Label=value" or "Label:value". |
53 | | - This command can be used to scan the comments and transfer them to the sample parameters. This is done by selecting a sample parameter as well as a Label found in the comments. One then specifies the histograms where the search will be performed. This is particularly of use for parametric variables and for sample setting angles. |
| 52 | + The histogram comments section, depending on the importer used to read in the powder data (or image that data is derived from) often contains values that are recorded by the diffraction instrument. These are recorded in the comments as "Label=value" or "Label:value". |
| 53 | + This command can be used to scan the comments and transfer them to the sample parameters. This is done by selecting a sample parameter, as well as a "Label" found in the comments. One then specifies the histograms where the value will be located and the parameter will be set. Alternately, one can specify an equation to be used to set the chosen sample parameter as a function of one or more "Label" values. |
| 54 | + This command can be used to set any of the Sample Parameter values, but this is particularly useful for parametric variables and for sample setting angles. |
| 55 | +Note that a similar action is possible by [changing the name](#SetByName) of one of the "free parameters," as described above. |
0 commit comments