Changeset 2842
- Timestamp:
- May 29, 2017 3:23:29 PM (7 years ago)
- Files:
-
- 1 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
Tutorials/SeqRefine/SequentialTutorial.htm
r2390 r2842 1392 1392 with a set of closely related models that evolve over the course of the 1393 1393 measurements.<span style='mso-spacerun:yes'> </span>Sequential refinements can 1394 be performed in three different ways: </p> 1395 1396 <p class=MsoListParagraphCxSpFirst style='margin-left:.75in;mso-add-space:auto; 1397 text-indent:-.25in;mso-list:l4 level1 lfo2'><![if !supportLists]><span 1398 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>1.<span 1399 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>with 1400 differing starting parameters for each histogram</p> 1401 1402 <p class=MsoListParagraphCxSpMiddle style='margin-left:.75in;mso-add-space: 1403 auto;text-indent:-.25in;mso-list:l4 level1 lfo2'><![if !supportLists]><span 1404 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>2.<span 1405 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>with 1406 the same starting parameters for each histogram</p> 1407 1408 <p class=MsoListParagraphCxSpLast style='margin-left:.75in;mso-add-space:auto; 1409 text-indent:-.25in;mso-list:l4 level1 lfo2'><![if !supportLists]><span 1410 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>3.<span 1411 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>where 1412 the resulting parameters after refinement with a histogram are used as the 1413 starting point for the next histogram.</p> 1414 1415 <p class=MsoNormal><o:p> </o:p></p> 1416 1394 be performed in two different ways: </p> 1395 <blockquote><DL> 1396 <DT>A: Where the resulting parameters after refinement with a 1397 histogram are used as the starting point for the next histogram. 1398 </DT><DD>When this mode is used, the same parameters must be 1399 varied in each histogram (phase-based parameters, including 1400 those in the phase/data tab are forced to be the same, since 1401 there is only one set of these.) This is commonly used for an 1402 initial refinement. 1403 </DD> 1404 <DT>B: Where parameters are not copied between histograms. 1405 </DT><DD>When this is done, the phase-based parameters from 1406 refinement with each histogram are still used as the 1407 starting point for the next, but histogram parameters may 1408 start all at the same place or may be started at different 1409 values, for example to continue a previous sequential 1410 refinement to convergence or with more parameters. Note that 1411 in this case different sets of parameters may be refined for 1412 each histogram. 1413 </DD> 1414 <DL></blockquote> 1415 1417 1416 <p class=MsoNormal>In this example, we will fit a temperature series. Note that 1418 1417 it is also possible to fit a temperature series as a combined refinement and, … … 1420 1419 Hydrostatic/Elastic strain terms), but a combined refinement would average the 1421 1420 atomic parameters across all temperatures. A sequential refinement allows each 1422 data set to determine the atomic parameters; their variation with temperature 1423 might be of interest.</p> 1424 1425 <p class=MsoNormal>If you have not done so already, start GSAS-II. Some of the 1426 pictures in this tutorial are from a Mac OSX machine; these illustrate the 1427 differences in menu location from Windows/Linux machines.<span 1428 style='mso-fareast-font-family:"Times New Roman";mso-fareast-theme-font:minor-fareast'><o:p></o:p></span></p> 1421 histogram to have differing atomic parameters; their variation with temperature 1422 might be of interest. Likewise, the parameters on the phase/data tab, 1423 such as size/microstrain coefficients, phase fractions, are also 1424 allowed to be different for each histogram, if varied.</p> 1429 1425 1430 1426 <p class=MsoNormal><o:p> </o:p></p> 1431 1427 1432 1428 <p class=MsoNormal>This example assumes that one is already familiar with use 1433 of GSAS-II for simple refinements.</p> 1429 of GSAS-II for simple refinements and have started GSAS-II without a project.</p> 1430 Note that most of the screen images shown in this tutorial 1431 are taken from GSAS-II running on a Mac OS X machine; these 1432 illustrate that the menus are not located on the data tree or data 1433 editing windows. </p> 1434 1434 1435 1435 <h1>Step 1: Fit a single temperature. </h1> … … 1608 1608 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 1609 1609 1610 <a name="step1-5"></a> 1610 1611 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l6 level1 lfo4'><![if !supportLists]><span 1611 1612 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>5.<span … … 1627 1628 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 1628 1629 1630 <a name="constraint"></a> 1629 1631 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l6 level1 lfo4'><![if !supportLists]><span 1630 1632 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>6.<span … … 1646 1648 initially.<span style='mso-spacerun:yes'> </span>To illustrate how constraints 1647 1649 are used, we will refine both phase fractions, but constrain their sum to be 1648 one. To set up the constraint, <span style='mso-bidi-font-weight:bold'>click on 1650 one. (A simpler alternate approach would be to refine only a single 1651 phase fraction.) 1652 To set up the constraint, <span style='mso-bidi-font-weight:bold'>click on 1649 1653 the<b> </b></span><b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 1650 1654 major-latin;mso-hansi-theme-font:major-latin'>Constraints</span> </b><span 1651 style='mso-bidi-font-weight:bold'>item</span> in the data tree and the <b><span 1652 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1653 mso-hansi-theme-font:major-latin'>Select tab/Histogram/Phase</span> </b><span 1655 style='mso-bidi-font-weight:bold'>item</span> in the data tree. Then 1656 click on the <b>Histogram/Phase</b> tab in the data editing 1657 window. Then in the <b><span 1658 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1659 mso-hansi-theme-font:major-latin'>Edit Constr.</span> </b><span 1654 1660 style='mso-bidi-font-weight:bold'>menu<span style='mso-spacerun:yes'> 1655 < /span>item</span>, and then <span style='mso-bidi-font-weight:bold'>click on1661 <span style='mso-bidi-font-weight:bold'>click on 1656 1662 the<b> </b></span><b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 1657 major-latin;mso-hansi-theme-font:major-latin'>Edit/Add</span> </b><b><span 1658 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1659 mso-hansi-theme-font:major-latin'>constraint</span></b><span style='mso-bidi-font-weight: 1663 major-latin;mso-hansi-theme-font:major-latin'>Edit Constr/Add 1664 constraint equation</span></b><span style='mso-bidi-font-weight: 1660 1665 bold'> menu item<b>.</b></span></p> 1661 1666 … … 1738 1743 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1739 1744 mso-hansi-theme-font:major-latin'>CuCr2O4</span></b>) <span style='mso-bidi-font-weight: 1740 bold'> click on the </span><b><span style='font-family:"Calibri",sans-serif;1745 bold'>, which should open the General Tab. Click on the </span><b><span style='font-family:"Calibri",sans-serif; 1741 1746 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Refine unit 1742 cell</span></b><span style='mso-bidi-font-weight:bold'> option</span> (on the <b 1743 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 1744 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>General</span></b> 1745 tab). (On a Mac you will likely need to click on the triangle to the left of 1747 cell</span></b><span style='mso-bidi-font-weight:bold'> option</span> 1748 (If the phases are not shown, click on the triangle to the left of 1746 1749 the <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 1747 1750 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Phase</span></b> … … 1750 1753 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1751 1754 mso-hansi-theme-font:major-latin'>Data</span> </b><span style='mso-bidi-font-weight: 1752 bold'>tab, click on<b> </b></span><b><span style='font-family:"Calibri",sans-serif; 1753 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>show PWDR 1754 OH_00.fxye Bank 1</span></b> and <span style='mso-bidi-font-weight:bold'>click 1755 bold'>tab and click 1755 1756 on the<b> </b></span><b><span style='font-family:"Calibri",sans-serif; 1756 1757 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Phase … … 1760 1761 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; 1761 1762 mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="Picture_x0020_7" o:spid="_x0000_i1051" 1762 type="#_x0000_t75" style='width:260.25pt;height: 99pt;visibility:visible;1763 type="#_x0000_t75" style='width:260.25pt;height:120pt;visibility:visible; 1763 1764 mso-wrap-style:square'> 1764 1765 <v:imagedata src="SequentialTutorial_files/image021.png" o:title=""/> 1765 </v:shape><![endif]--><![if !vml]><img width=347 height=1321766 </v:shape><![endif]--><![if !vml]><img width=347 1766 1767 src="SequentialTutorial_files/image108.jpg" v:shapes="Picture_x0020_7"><![endif]></span></p> 1767 1768 … … 1779 1780 bold'>select the </span><b><span style='font-family:"Calibri",sans-serif; 1780 1781 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Data</span> </b><span 1781 style='mso-bidi-font-weight:bold'>tab, click on<b> </b></span><b><span 1782 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1783 mso-hansi-theme-font:major-latin'>show PWDR OH_00.fxye Bank 1</span></b> and <span 1784 style='mso-bidi-font-weight:bold'>click on the<b> </b></span><b><span 1782 style='mso-bidi-font-weight:bold'>tab and click on the<b> </b></span><b><span 1785 1783 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1786 1784 mso-hansi-theme-font:major-latin'>Phase fraction</span> </b><span 1787 style='mso-bidi-font-weight:bold'>box</span> to cause that to be refined.<span 1788 style='mso-spacerun:yes'> </span>Also <span style='mso-bidi-font-weight:bold'>click 1789 on the single<b> </b></span><b><span style='font-family:"Calibri",sans-serif; 1790 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>microstrain</span></b> 1791 (isotropic) term for this second phase.</p> 1785 style='mso-bidi-font-weight:bold'>box</span> to cause that to be refined. 1792 1786 1793 1787 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 1813 1807 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1814 1808 mso-hansi-theme-font:major-latin'>PWDR OH_00.fxye Bank 1</span></b> in the 1815 GSAS-II data tree ( for a Mac, you will likely need toclick on the triangle to1816 the left of the entry to open the tree item.) Confirm that <b1809 GSAS-II data tree (again if this is not shown, click on the triangle to 1810 the left of the histogram entry to open the tree item.) Confirm that <b 1817 1811 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 1818 1812 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Background … … 1847 1841 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1848 1842 mso-hansi-theme-font:major-latin'>Limits</span> </b><span style='mso-bidi-font-weight: 1849 bold'>entry</span> for <b style='mso-bidi-font-weight:normal'><span1843 bold'>entry</span> for histogram <b style='mso-bidi-font-weight:normal'><span 1850 1844 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1851 1845 mso-hansi-theme-font:major-latin'>PWDR OH_00.fxye Bank 1</span></b> and in the <b 1852 1846 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 1853 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Tmin/changed</span></b> 1847 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>New 1848 Tmin</span></b> 1854 1849 box (to lower left) <span style='mso-bidi-font-weight:bold'>change it to </span><b><span 1855 1850 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 1856 mso-hansi-theme-font:major-latin'>4.5</span>.</b> <b style='mso-bidi-font-weight: 1857 normal'><i style='mso-bidi-font-style:normal'><u>Important</u></i></b>: you 1858 will have to select the data box (it will turn blue) and then enter the number 1859 (<b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 1860 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>4.5</span></b>) 1861 and then click on some other box in the window so that the change registers. </p> 1862 1863 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 1864 1865 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l6 level1 lfo4'><![if !supportLists]><span 1866 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>8.<span 1867 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><!--[if gte vml 1]><v:shape 1868 id="Picture_x0020_15" o:spid="_x0000_s1041" type="#_x0000_t75" style='position:absolute; 1869 left:0;text-align:left;margin-left:102.2pt;margin-top:-53.75pt;width:153.4pt; 1870 height:236.55pt;z-index:251679744;visibility:visible;mso-wrap-style:square; 1871 mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt; 1872 mso-wrap-distance-top:0;mso-wrap-distance-right:9pt; 1873 mso-wrap-distance-bottom:0;mso-position-horizontal:right; 1874 mso-position-horizontal-relative:margin;mso-position-vertical:absolute; 1875 mso-position-vertical-relative:margin;mso-width-percent:0; 1876 mso-height-percent:0;mso-width-relative:page;mso-height-relative:page'> 1877 <v:imagedata src="SequentialTutorial_files/image025.png" o:title=""/> 1878 <w:wrap type="square" anchorx="margin" anchory="margin"/> 1879 </v:shape><![endif]--><![if !vml]><img width=205 height=315 1880 src="SequentialTutorial_files/image110.png" align=right hspace=12 v:shapes="Picture_x0020_15"><![endif]>Optional: 1851 mso-hansi-theme-font:major-latin'>4.5</span>.</b> 1852 1853 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 1854 1855 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l6 level1 lfo4'> 1856 8. Optional: 1881 1857 confirm that the initial parameters have been selected correctly for refinement 1882 1858 using <span style='mso-bidi-font-weight:bold'>the<b> </b></span><b><span … … 1905 1881 for the GSAS-II project (.gpx) file.<span style='mso-spacerun:yes'> </span>The 1906 1882 file name <span style='font-family:Courier'>SeqTut.gpx</span> is assumed here. 1907 The refinement progresses quickly to a Rw of ~16%. </p>1883 The refinement progresses quickly to a wR of ~17%. </p> 1908 1884 1909 1885 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 1913 1889 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>There 1914 1890 are several additional variables that should now be added. One should always 1915 refine a sample displacement parameter or perhaps insteada zero correction. In1916 this case, the best choice is to <span style='mso-bidi-font-weight:bold'>add1891 refine a sample displacement parameter or a zero correction. In 1892 most cases with Debye-Scherrer geometry, the best choice is to <span style='mso-bidi-font-weight:bold'>add 1917 1893 the<b> </b></span><b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 1918 1894 major-latin;mso-hansi-theme-font:major-latin'>Sample X displ.</span> </b><span … … 1977 1953 bold'>) and Gaussian width<b> </b>(</span><b><span style='font-family:"Calibri",sans-serif; 1978 1954 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>sig</span></b><span 1979 style='mso-bidi-font-weight:bold'>) to be refined</span>.<span 1980 style='mso-spacerun:yes'> </span><b style='mso-bidi-font-weight:normal'><i 1981 style='mso-bidi-font-style:normal'><u>Important</u></i></b>: note that one must 1982 click on another box to ensure that input is recorded.</p> 1955 style='mso-bidi-font-weight:bold'>) to be refined</span>. 1983 1956 1984 1957 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2013 1986 style='mso-bidi-font-weight:bold'>tab</span>, <span style='mso-bidi-font-weight: 2014 1987 bold'>click on the </span><b><span style='font-family:"Calibri",sans-serif; 2015 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'> Cryst. Size</span></b><span1988 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>size</span></b><span 2016 1989 style='mso-bidi-font-weight:bold'> and </span><b><span style='font-family:"Calibri",sans-serif; 2017 1990 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>microstrain</span></b><span … … 2036 2009 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2037 2010 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Background</span></b> 2038 item, as before. Be sure to click on some other box after clicking on the 2039 refine flag, so that the setting is recorded. </p> 2011 item, as before.</p> 2040 2012 2041 2013 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2072 2044 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2073 2045 2074 <p class=MsoListParagraphCxSpMiddle>Repeating the refinement causes the wR to 2046 <p class=MsoListParagraphCxSpMiddle> 2047 Likewise, introduce a peak broadening parameter for the second phase 2048 by clicking on <B>CuO</B> in the data tree and 2049 <span style='mso-bidi-font-weight:bold'>click 2050 on the single<b> </b></span><b><span style='font-family:"Calibri",sans-serif; 2051 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>microstrain</span></b> 2052 (isotropic) term for this second phase.</p> 2053 2054 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2055 2056 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l6 level1 lfo4'> 2057 12. Repeating the refinement causes the wR to 2075 2058 drop to ~14%. Clicking on the <b style='mso-bidi-font-weight:normal'><span 2076 2059 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2077 2060 mso-hansi-theme-font:major-latin'>Covariance</span></b> data tree item shows 2078 that the goodness of fit (GOF) is 1.16(corresponding to a reduced <b2061 that the goodness of fit (GOF) is around 1.1 (corresponding to a reduced <b 2079 2062 style='mso-bidi-font-weight:normal'><span style='font-family:"Lucida Grande"; 2080 color:black'>χ</span></b><sup>2</sup> of 1.2) with 23 refined parameters. 2081 While atomic parameters could now be refined, as shown in the plot, this is 2082 clearly a good enough place to start refinement with all the datasets. </p> 2063 color:black'>χ</span></b><sup>2</sup> <1.2) with 23 refined parameters. 2064 While atomic parameters could now be refined, we are already have a good 2065 enough fit to start a refinement with all the datasets, 2066 as the plot clearly shows. </p> 2083 2067 2084 2068 <p class=MsoListParagraphCxSpLast><span style='mso-fareast-language:EN-US; … … 2095 2079 2096 2080 <p class=MsoNormal>There is one significant difference between fitting a 2097 sequence of datasets versus fitting a single data set. Rather than fitting 2098 lattice constants (for which there will be only one set for each phase in the 2081 sequence of datasets versus fitting a single data set. This is in the 2082 way that lattice constants are fit. 2083 In GSAS-II the lattice constants for each phase are determined from 2084 reciprocal metric tensor terms, 2085 (which are labeled <tt><p>::Axx</tt> where 2086 <tt><p></tt> is phase number 2087 and the <tt>xx</tt> value(s) 2088 depend on the unit cell symmetry) which are added to Hydrostatic/Elastic strain terms 2089 (labeled <tt><p>:<h>:Dxx</tt>, as above but 2090 <tt><h></tt> is the histogram number). Note that there is only 2091 one set of <tt><p>::Axx</tt> terms for each phase, but there is 2092 a set of <tt><p>:<h>:Dxx</tt> for each phase <I>and 2093 histogram</I>. Since in most cases in a sequential refinement, one 2094 wants to have differing lattice constants for each histogram, 2095 refinement of the <tt><p>::Axx</tt> terms in a sequential 2096 refinement is reported as an error. </p> 2097 <p class=MsoListParagraph><o:p> </o:p></p> 2098 2099 <p class=MsoNormal> 2100 Note that the <tt><p>::Axx</tt> are controlled by the "Refine 2101 unit cell" option on the Phase/General tab, while the 2102 <tt><p>:<h>:Dxx</tt> are listed on the Phase/Data tab, 2103 along with all the other parameters where there are values for each 2104 histogram and phase. 2105 2106 Note that in a sequential fit, there is only one set of l 2107 (for which there will be only one set for each phase in the 2099 2108 entire refinement), we will use the Hydrostatic/Elastic strain terms 2100 (parameters <p>:<h>:Dxx) to treat the change in lattice parameters. 2109 (parameters labeled <tt><p>:<h>:Dxx</tt> where 2110 <tt><p></tt> is phase number and 2111 <tt><h></tt> is histogram number and the <tt>xx</tt>value(s) 2112 depend on the unit cell symmetry) to treat the change in lattice parameters. 2101 2113 These items describe the change in lattice parameters and appear in the Phase 2102 Data tab, where there is a set for each histogram assigned to the phase. We 2103 will make a switch to use this for the current dataset, in preparation for the 2104 sequential refinement with all datasets. </p> 2114 Data tab, where there is a set for each histogram assigned to the 2115 phase.</p> 2105 2116 2106 2117 <p class=MsoNormal><o:p> </o:p></p> 2107 2118 2108 <p class=MsoNormal>Also at this point we will temporarily remove variables that 2119 <p class=MsoNormal>We 2120 will make a switch from refining <tt><p>::Axx</tt> terms to 2121 <tt><p>:<h>:Dxx</tt> terms for the current dataset, 2122 in preparation for the sequential refinement with all datasets. 2123 Also at this point we will temporarily remove variables that 2109 2124 could make the fit diverge as the lattice constants shift. As an example, when 2110 2125 initially fitting a model with peaks that overlap with the observed peaks, but 2111 2126 not very well, the fit might be improved by a change in the phase fractions 2112 (that might eliminate our impurity CuO phase) or make peaks quite a bit broader 2113 than appropriate, these changes are improbable and could result in a model that 2114 is less correct than the starting point but still be a local LS minimum. In 2115 such cases the best-fit model may never be found. Accordingly, we will turn off 2127 (which might eliminate our impurity CuO phase) or make peaks quite a bit broader 2128 than appropriate, these changes could result in a model that 2129 is less correct than the starting point but still be a local LS 2130 minimum. After such a change the best-fitting model may never be 2131 found. Accordingly, we will turn off 2116 2132 refinement of all parameters except those that determine peak positions (the 2117 Dxx terms) and the overall scale factor. We might include the background terms 2133 Dxx terms) and the overall scale factor. We will also include 2134 refinement of the background terms 2118 2135 since they are unlikely to affect convergence. </p> 2119 2136 … … 2148 2165 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>On 2149 2166 the <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2150 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Data</span></b> 2151 tab, <span style='mso-bidi-font-weight:bold'>click on the<b> </b></span><b><span 2152 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2153 mso-hansi-theme-font:major-latin'>D11</span></b><span style='mso-bidi-font-weight: 2154 bold'>, </span><b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2155 major-latin;mso-hansi-theme-font:major-latin'>D22</span></b><span 2167 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Data 2168 tab</span></b>, click on the <b><span 2169 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2170 mso-hansi-theme-font:major-latin'>D11, D22</span></b><span 2156 2171 style='mso-bidi-font-weight:bold'> and </span><b><span style='font-family:"Calibri",sans-serif; 2157 2172 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>D33</span></b><span … … 2162 2177 The <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2163 2178 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Data</span></b> 2164 window should look something like</p> 2165 2166 <p class=MsoListParagraphCxSpMiddle><span style='mso-spacerun:yes'> </span><span 2167 style='mso-fareast-language:EN-US;mso-no-proof:yes'><!--[if gte vml 1]><v:shape 2168 id="Picture_x0020_72" o:spid="_x0000_i1048" type="#_x0000_t75" style='width:264.75pt; 2169 height:254.25pt;visibility:visible;mso-wrap-style:square'> 2170 <v:imagedata src="SequentialTutorial_files/image035.png" o:title=""/> 2171 </v:shape><![endif]--><![if !vml]><img width=353 height=339 2172 src="SequentialTutorial_files/image115.png" v:shapes="Picture_x0020_72"><![endif]></span></p> 2179 window will appear similar to what is below:</p> 2180 2181 <p class=MsoListParagraphCxSpMiddle> 2182 <img width=353 2183 src="SequentialTutorial_files/image115.png" v:shapes="Picture_x0020_72"></p> 2173 2184 2174 2185 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2204 2215 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2205 2216 mso-hansi-theme-font:major-latin'>D13</span></b> term (which corresponds to the 2206 CuO β* angle), but we do not expect this to change much and expect the 2207 refinement to be relatively insensitive to this, due to the small number of CuO 2208 peaks that are in the pattern.)</p> 2209 2210 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2211 2212 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; 2213 mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="Picture_x0020_71" o:spid="_x0000_i1047" 2214 type="#_x0000_t75" style='width:264pt;height:252.75pt;visibility:visible; 2215 mso-wrap-style:square'> 2216 <v:imagedata src="SequentialTutorial_files/image037.png" o:title="" croptop="2615f" 2217 cropbottom="5827f" cropleft="4311f" cropright="4217f"/> 2218 </v:shape><![endif]--><![if !vml]><img width=352 height=337 2219 src="SequentialTutorial_files/image116.png" v:shapes="Picture_x0020_71"><![endif]></span></p> 2217 CuO β* angle). However, due to the small number of the small number of CuO 2218 peaks that are in the pattern, the refinement to be relatively 2219 insensitive to this parameter and convergence will be more rapid if 2220 this is added to the refinement later.</p> 2220 2221 2221 2222 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2223 2224 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l7 level1 lfo6'><![if !supportLists]><span 2224 2225 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>4.<span 2225 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Also 2226 style='font:7.0pt "Times New Roman"'> 2227 </span></span></span><![endif]>To also simplify the refinement 2226 2228 at this stage, <span style='mso-bidi-font-weight:bold'>turn off the all the 2227 2229 background refinement terms</span> by clicking on <b style='mso-bidi-font-weight: 2228 2230 normal'><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2229 2231 major-latin;mso-hansi-theme-font:major-latin'>Background</span></b> on the 2230 histogram tree item and removing checks from all items (be sure to click 2231 elsewhere in the window before going on to the next step.) </p> 2232 2233 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2234 2235 <p class=MsoListParagraphCxSpMiddle><!--[if gte vml 1]><v:shape id="Picture_x0020_33" 2236 o:spid="_x0000_s1038" type="#_x0000_t75" style='position:absolute;left:0; 2237 text-align:left;margin-left:126.25pt;margin-top:682.5pt;width:177.45pt; 2238 height:234pt;z-index:251684864;visibility:visible;mso-wrap-style:square; 2239 mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt; 2240 mso-wrap-distance-top:0;mso-wrap-distance-right:9pt; 2241 mso-wrap-distance-bottom:0;mso-position-horizontal:right; 2242 mso-position-horizontal-relative:margin;mso-position-vertical:absolute; 2243 mso-position-vertical-relative:margin;mso-width-percent:0; 2244 mso-height-percent:0;mso-width-relative:page;mso-height-relative:page'> 2245 <v:imagedata src="SequentialTutorial_files/image039.png" o:title="" croptop="2496f" 2246 cropbottom="6233f" cropleft="6198f" cropright="5868f"/> 2247 <w:wrap type="square" anchorx="margin" anchory="margin"/> 2248 </v:shape><![endif]--><![if !vml]><img width=237 height=312 2249 src="SequentialTutorial_files/image117.png" align=right hspace=12 v:shapes="Picture_x0020_33"><![endif]><span 2250 style='mso-fareast-language:EN-US;mso-no-proof:yes'><!--[if gte vml 1]><v:shape 2251 id="Picture_x0020_13" o:spid="_x0000_i1046" type="#_x0000_t75" style='width:290.25pt; 2252 height:134.25pt;visibility:visible;mso-wrap-style:square'> 2253 <v:imagedata src="SequentialTutorial_files/image041.png" o:title="" croptop="4264f" 2254 cropbottom="9111f" cropleft="3592f" cropright="4103f"/> 2255 </v:shape><![endif]--><![if !vml]><img width=387 height=179 2256 src="SequentialTutorial_files/image118.png" v:shapes="Picture_x0020_13"><![endif]></span></p> 2232 histogram tree item and removing checks the four items that are 2233 refined (overall terms and peak intensity, position and sig.)</p> 2257 2234 2258 2235 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2269 2246 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2270 2247 2271 <p class=MsoListParagraphCxSpLast style='text-indent:-.25in;mso-list:l7 level1 lfo6'><![if !supportLists]><span2272 style=' mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>5.<span2273 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>One2248 <p class=MsoListParagraphCxSpLast 2249 style='text-indent:-.25in;mso-list:l7 level1 lfo6'> 2250 Optional: One 2274 2251 can confirm that the number of parameters is now 7 (3 Dxx terms for phase 1, 3 2275 Dxx terms for phase 2 and a scale factor.) If the refinement is repeated, the 2276 fit quality does not change, since these parameters are completely equivalent 2277 to the previous. There may result in very non-zero values for the Dxx 2278 parameters, but these are much smaller than their uncertainties and are thus 2279 within noise of zero. </p> 2280 2281 <h1>Step 3: Import the remaining datasets and duplicate information across 2252 Dxx terms for phase 2 and a scale factor.) 2253 Also, while it is not necessary, as a test it is possible to repeat 2254 the refinement. If this is done, the Dxx values will refine to values 2255 very close to zero (within the refinement uncertainties) indicating that the lattice parameters were 2256 already optimal and the quality of the fit (noted by wR or GOF) will 2257 be largely unchanged. 2258 </p> 2259 2260 <h1>Step 3: Import the remaining datasets 2282 2261 histograms.</h1> 2283 2262 2284 2263 <p class=MsoNormal><o:p> </o:p></p> 2285 2264 2286 <p class=MsoNormal>In this step we bring in the remaining data , duplicate the2287 histogram parameters as well as the phase/histogram parameters and set up to 2288 perform a sequential fit.</p>2265 <p class=MsoNormal>In this step we bring in the remaining data and 2266 ensure that the two phases are linked to each new histogram. 2267 </p> 2289 2268 2290 2269 <p class=MsoNormal><o:p> </o:p></p> … … 2344 2323 2345 2324 <p class=MsoListParagraphCxSpMiddle><span style='mso-bidi-font-weight:bold'>Set 2346 all data sets to use the two phases</span>, as before in step 1 #6.</p>2325 all data sets to use the two phases</span>, as before in <a href="#step1-5">step 1 #5. </a></p> 2347 2326 2348 2327 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2369 2348 <w:wrap type="square" anchorx="margin" anchory="margin"/> 2370 2349 </v:shape><![endif]--><![if !vml]><img width=209 height=112 2371 src="SequentialTutorial_files/image121.png" align=right hspace=12 v:shapes="Picture_x0020_18"><![endif]>Optional: 2350 src="SequentialTutorial_files/image121.png" align=right hspace=12 2351 v:shapes="Picture_x0020_18"><![endif]> 2352 <p class=MsoListParagraphCxSpMiddle 2353 style='text-indent:-.25in;mso-list:l5 level1 lfo10'> 2354 Optional: 2372 2355 Note that the default graphics mode is to display the last dataset read 2373 2356 in.<span style='mso-spacerun:yes'> </span>If you want to see the entire … … 2385 2368 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2386 2369 mso-hansi-theme-font:major-latin'>m: toggle multidata plot</span></b> from the 2387 pop-up window). The <b style='mso-bidi-font-weight:normal'><span 2388 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2389 mso-hansi-theme-font:major-latin'>U</span></b>, <b style='mso-bidi-font-weight: 2390 normal'><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2391 major-latin;mso-hansi-theme-font:major-latin'>D</span></b>, <b 2392 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2393 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>R</span></b> 2394 & <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2395 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>L</span></b> 2396 keys control the appearance of a waterfall plot. You can then select the <b 2397 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2398 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>C</span></b> 2399 key for a contour plot of all the data; use <b style='mso-bidi-font-weight: 2400 normal'><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2401 major-latin;mso-hansi-theme-font:major-latin'>U</span></b> and <b 2402 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2403 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>D</span></b> 2404 keys to change the contrast.</p> 2370 pop-up window). The <b>u</b>, <b>d</b>, <b>r</b> and <b>l</b> 2371 keys control the appearance of a waterfall plot. You can also use 2372 the <b>c</b> key to obtain a contour plot of all the data, as below; in this mode 2373 the <b>u</b> and <b>d</b> keys change the upper level on the 2374 color scale, changing the contrast of the plot.</p> 2405 2375 2406 2376 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; … … 2412 2382 src="SequentialTutorial_files/image049.png" v:shapes="Picture_x0020_14"><![endif]></span></p> 2413 2383 2414 <p class=MsoListParagraphCxSpLast> Ive use <b style='mso-bidi-font-weight:2384 <p class=MsoListParagraphCxSpLast>Above, I have used the <b style='mso-bidi-font-weight: 2415 2385 normal'><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2416 major-latin;mso-hansi-theme-font:major-latin'> D</span></b>to increase the2417 contrast & zoomed in to a location that shows the effect of temperature on2386 major-latin;mso-hansi-theme-font:major-latin'>d</span></b> key to increase the 2387 contrast & zoomed in to a an angular location that shows the effect of temperature on 2418 2388 the peak positions.</p> 2419 2389 2420 <h1>Step 4: Import the remaining datasets and duplicate information across 2421 histograms.</h1> 2390 <h1>Step 4: Duplicate parameters across histograms and phase/histogram entries.</h1> 2422 2391 2423 2392 <p class=MsoNormal><o:p> </o:p></p> 2424 2393 2425 <p class=MsoNormal>In this step we bring in the remaining data, duplicate the2426 histogram parameters as well as the phase/histogram parameters and set up to 2427 perform a sequential fit.</p>2394 <p class=MsoNormal>In this step we make sure that the starting parameters are 2395 the same for all histogram as well as the phase/histogram parameters 2396 (in the Phase/Data tab).</p> 2428 2397 2429 2398 <p class=MsoListParagraphCxSpFirst><o:p> </o:p></p> 2430 2399 2431 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l5 level1 lfo10'><![if !supportLists]><span 2432 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>1.<span 2433 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><!--[if gte vml 1]><v:shape 2434 id="Picture_x0020_19" o:spid="_x0000_s1035" type="#_x0000_t75" style='position:absolute; 2435 left:0;text-align:left;margin-left:18.3pt;margin-top:9.2pt;width:69.5pt; 2436 height:33pt;z-index:251668480;visibility:visible;mso-wrap-style:square; 2437 mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt; 2438 mso-wrap-distance-top:0;mso-wrap-distance-right:9pt; 2439 mso-wrap-distance-bottom:0;mso-position-horizontal:right; 2440 mso-position-horizontal-relative:margin;mso-position-vertical:absolute; 2441 mso-position-vertical-relative:margin;mso-width-percent:0; 2442 mso-height-percent:0;mso-width-relative:page;mso-height-relative:page'> 2443 <v:imagedata src="SequentialTutorial_files/image050.png" o:title=""/> 2444 <w:wrap type="square" anchorx="margin" anchory="margin"/> 2445 </v:shape><![endif]--><![if !vml]><img width=93 height=44 2446 src="SequentialTutorial_files/image122.jpg" align=right hspace=12 v:shapes="Picture_x0020_19"><![endif]>Copy 2447 the histogram parameters from the first histogram to the new ones: <span 2448 style='mso-bidi-font-weight:bold'>Select the original </span><b><span 2449 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2450 mso-hansi-theme-font:major-latin'>PWDR OH_00.fxye Bank 1</span></b><span 2451 style='mso-bidi-font-weight:bold'> entry</span>. Use menu command <b><span 2400 <p class=MsoListParagraphCxSpMiddle 2401 style='text-indent:-.25in;mso-list:l5 level1 lfo10'> 2402 1. Copy 2403 the histogram parameters to be the same in all histograms: In 2404 this case we have changed limits and varied background and sample 2405 parameter values in the first histogram. We will copy those values to 2406 all histograms. Select the original histogram, entry 2407 <b>PWDR OH_00.fxye Bank 1</b> 2408 and then use the menu command <b><span 2452 2409 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2453 2410 mso-hansi-theme-font:major-latin'>Commands/Copy params</span></b>. </p> … … 2469 2426 </v:shape><![endif]--><![if !vml]><img width=217 height=212 2470 2427 src="SequentialTutorial_files/image123.png" align=right hspace=12 v:shapes="Picture_x0020_20"><![endif]>This 2471 causes a dialog box where the sections to be copied are selected. We need to2428 causes a dialog box where the different histogram parameters sets to be copied are selected. We need to 2472 2429 duplicate the <b style='mso-bidi-font-weight:normal'><span style='font-family: 2473 2430 "Calibri",sans-serif;mso-ascii-theme-font:major-latin;mso-hansi-theme-font: … … 2477 2434 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2478 2435 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Sample 2479 Parameters</span></b> between all histograms. The <b style='mso-bidi-font-weight: 2480 normal'><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2481 major-latin;mso-hansi-theme-font:major-latin'>Instrument Parameters</span></b> 2482 have not been changed in this exercise and are all read from the same 2483 instrument parameter file, but there is no harm in copying them, so the default 2484 entries do not need to be changed. <span style='mso-bidi-font-weight:bold'>Press<b> 2436 Parameters</span></b> between all histograms. 2437 (Note that the Instrument Parameters 2438 have not been changed in this exercise from what was read from the same 2439 instrument parameter file so they are already the same, but there is no harm in copying them, so the default 2440 entries do not need to be changed.) <span style='mso-bidi-font-weight:bold'>Press<b> 2485 2441 </b></span><b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2486 major-latin;mso-hansi-theme-font:major-latin'>OK</span></b>. Note that all 2487 parameters are copied except measurement information such as setting angles, 2488 temperature, etc. </p> 2442 major-latin;mso-hansi-theme-font:major-latin'>OK</span></b>. Note that 2443 this action will only copy the initial values the Sample 2444 Parameters section (including all that can be refined) but will not 2445 change values such as as setting angles, temperature, etc. </p> 2489 2446 2490 2447 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2511 2468 src="SequentialTutorial_files/image124.png" v:shapes="Picture_x0020_20"><![endif]></span></p> 2512 2469 2513 <p class=MsoListParagraphCxSpLast> That the copy has been performed can be2514 demonstratedby examining any of the additional histogram plots (to see the2515 changed lower limit) , etc. Next we need to copy the Phase/Histogram parameters2516 within each phase.</p>2470 <p class=MsoListParagraphCxSpLast>It can be confirmed that the copy has been performed 2471 by examining any of the additional histogram plots (to see the 2472 changed lower limit) or looking at Background or Sample Parameter 2473 values in the Data Editing window.</p> 2517 2474 2518 2475 <p class=MsoNormal><o:p> </o:p></p> 2519 2476 2520 <p class=MsoListParagraphCxSpFirst style='text-indent:-.25in;mso-list:l5 level1 lfo10'><![if !supportLists]><span 2521 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>2.<span 2522 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span 2523 style='mso-bidi-font-weight:bold'>Select the first phase</span> (<b 2477 <p class=MsoListParagraphCxSpFirst 2478 style='text-indent:-.25in;mso-list:l5 level1 lfo10'>2. 2479 <span 2480 style='mso-bidi-font-weight:bold'> 2481 Next we need to copy the Phase/Histogram parameters (in Phase/Data tab) 2482 for each phase: 2483 Select the first phase</span> (<b 2524 2484 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2525 2485 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>CuCr2O4</span></b>) 2526 and its <b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:2486 and click on its <b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2527 2487 major-latin;mso-hansi-theme-font:major-latin'>Data</span></b><span 2528 style='mso-bidi-font-weight:bold'> tab</span>. Then press the <b><span 2488 style='mso-bidi-font-weight:bold'> tab</span>. When this tab is first 2489 pressed, the first histogram linked to this phase (first entry in the 2490 list at the upper left) is automatically displayed and the parameters 2491 associated with this phase and histogram are displayed. These need to 2492 be copied to every other histogram. To do this select the <b><span 2529 2493 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2530 2494 mso-hansi-theme-font:major-latin'>Copy data</span></b><span style='mso-bidi-font-weight: 2531 bold'> button for </span><b><span style='font-family:"Calibri",sans-serif; 2532 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>PWDR 2533 OH_00.fxye Bank 1</span></b>;</p> 2495 bold'> menu item from the </span><b><span style='font-family:"Calibri",sans-serif; 2496 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Edit Phase 2497 </span></b>menu. A dialog window then appears to select where to 2498 copy the parameters. Select all histograms by pressing the <b>Set 2499 All</b> button. Then press the <b>OK</b> button. 2500 2501 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2534 2502 2535 2503 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; 2536 mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="Picture_x0020_16" o:spid="_x0000_i1042" 2537 type="#_x0000_t75" style='width:272.25pt;height:312pt;visibility:visible; 2538 mso-wrap-style:square'> 2539 <v:imagedata src="SequentialTutorial_files/image056.png" o:title=""/> 2540 </v:shape><![endif]--><![if !vml]><img width=363 height=416 2541 src="SequentialTutorial_files/image125.png" v:shapes="Picture_x0020_16"><![endif]></span><span 2542 style='mso-spacerun:yes'> </span></p> 2543 2544 <p class=MsoListParagraphCxSpMiddle>a dialog window appears to select where to 2545 copy the parameters. At present GSAS-II includes the originating dataset in the 2546 list, and there is no harm in copying parameters to all histograms (including 2547 the origin), but this is a good chance to show how the toggle button is used. <span 2548 style='mso-bidi-font-weight:bold'>Select only the<b> </b></span><b><span 2549 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2550 mso-hansi-theme-font:major-latin'>OH_00.fxye</span></b> entry. Then press the <b><span 2551 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2552 mso-hansi-theme-font:major-latin'>Toggle All</span></b> button to invert the 2553 selections. Then <span style='mso-bidi-font-weight:bold'>press<b> </b></span><b><span 2554 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2555 mso-hansi-theme-font:major-latin'>OK</span></b>.</p> 2556 2557 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2558 2559 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; 2560 mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="Picture_x0020_23" o:spid="_x0000_i1041" 2561 type="#_x0000_t75" style='width:171.75pt;height:158.25pt;visibility:visible; 2562 mso-wrap-style:square'> 2563 <v:imagedata src="SequentialTutorial_files/image058.png" o:title="" croptop="3456f" 2564 cropbottom="9070f" cropleft="5898f" cropright="3179f"/> 2565 </v:shape><![endif]--><![if !vml]><img width=229 height=211 2566 src="SequentialTutorial_files/image126.png" v:shapes="Picture_x0020_23"><![endif]><!--[if gte vml 1]><v:shape 2567 id="Picture_x0020_22" o:spid="_x0000_i1040" type="#_x0000_t75" style='width:156.75pt; 2568 height:156.75pt;visibility:visible;mso-wrap-style:square'> 2569 <v:imagedata src="SequentialTutorial_files/image060.png" o:title="" croptop="3744f" 2570 cropbottom="9050f" cropleft="6461f" cropright="7653f"/> 2571 </v:shape><![endif]--><![if !vml]><img width=209 height=209 2572 src="SequentialTutorial_files/image127.png" v:shapes="Picture_x0020_22"><![endif]></span></p> 2504 mso-no-proof:yes'> 2505 <img width=229 2506 src="SequentialTutorial_files/image126.png" 2507 v:shapes="Picture_x0020_23"> 2508 </p> 2573 2509 2574 2510 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2575 2511 2576 2512 <p class=MsoListParagraphCxSpMiddle>It can be verified that the copy took place 2577 by clicking Show for additional banks. </p> 2513 by clicking on different histograms in the list on the upper left of 2514 the Data tab window.</p> 2578 2515 2579 2516 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2582 2519 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>3.<span 2583 2520 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span 2584 style='mso-bidi-font-weight:bold'> Copy the Phase/Histogram parameters within2585 the second phase</span> by clicking on it (<b style='mso-bidi-font-weight:normal'><span2521 style='mso-bidi-font-weight:bold'>Repeat this copying the 2522 Phase/Histogram parameters within the second phase</span> by clicking on it (<b style='mso-bidi-font-weight:normal'><span 2586 2523 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2587 2524 mso-hansi-theme-font:major-latin'>CuO</span></b>) in the data tree (and 2588 2525 possibly on the <b style='mso-bidi-font-weight:normal'><span style='font-family: 2589 2526 "Calibri",sans-serif;mso-ascii-theme-font:major-latin;mso-hansi-theme-font: 2590 major-latin'>Data</span></b> tab.) Then press the <b><span style='font-family: 2591 "Calibri",sans-serif;mso-ascii-theme-font:major-latin;mso-hansi-theme-font: 2592 major-latin'>Copy?</span> </b><span style='mso-bidi-font-weight:bold'>button</span> 2593 and <span style='mso-bidi-font-weight:bold'>select the histograms</span> as 2594 done in the previous step</p> 2527 major-latin'>Data</span></b> tab.) Then click on the <b>Edit 2528 Phase/Copy data</b> menu item and again select all histograms and 2529 press <b>OK</b> as in the last step.</p> 2595 2530 2596 2531 <p class=MsoListParagraphCxSpLast><o:p> </o:p></p> … … 2600 2535 <p class=MsoNormal><o:p> </o:p></p> 2601 2536 2602 <p class=MsoNormal>At this point we determinewhich histograms will be used in2603 the fit and set that the resulting parameters from the results of each2604 refinement will be used for the subsequent refinements.</p>2537 <p class=MsoNormal>At this point we set which histograms will be used in 2538 the fit and set option that the resulting parameters from the results of each 2539 refinement will be used for the next refinement.</p> 2605 2540 2606 2541 <p class=MsoNormal><o:p> </o:p></p> … … 2675 2610 (which are all identical, since they were set with the Copy operations.) The 2676 2611 first few refinements will go well, but after the temperature has changed 2677 enough, the starting lattice parameters (determined from the cell and Dxx 2678 values) will be too far off and the refinements will fail. </p> 2612 enough, the starting lattice parameters (determined from the cell and 2613 with Dxx, where the latter values are near zero) will be too far off 2614 to align with the peaks and the refinements will fail. </p> 2679 2615 2680 2616 <p class=MsoListParagraphCxSpMiddle><span style='mso-spacerun:yes'> </span></p> … … 2693 2629 major-latin'>Max cycles</span></b><span style='mso-bidi-font-weight:bold'> to<b> 2694 2630 </b></span><b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2695 major-latin;mso-hansi-theme-font:major-latin'>10</span>.</b> This is important,2696 so that refinements have enough cycles to fully adjust to the changes in 2697 lattice parameters before being used as the starting point for the next 2698 refinement.</p>2631 major-latin;mso-hansi-theme-font:major-latin'>10</span>.</b> By 2632 increasing the number of cycles, we allow the lattice parameters to 2633 to fully adjust to the current histogram. 2634 </p> 2699 2635 2700 2636 <p class=MsoListParagraphCxSpMiddle><span style='mso-spacerun:yes'> </span></p> … … 2725 2661 <p class=MsoListParagraphCxSpMiddle>Note that if the copy operations in <b 2726 2662 style='mso-bidi-font-weight:normal'>Step 4</b> were not performed correctly, 2727 the parameters in each refinement will not agree and the refinement will stop 2663 the refined parameters in each refinement will not be the same 2664 and the refinement will stop 2728 2665 with an error such as this: </p> 2729 2666 2730 <p class=MsoListParagraphCxSpLast><!--[if gte vml 1]><o:wrapblock><v:shapetype 2731 id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe"> 2732 <v:stroke joinstyle="miter"/> 2733 <v:path gradientshapeok="t" o:connecttype="rect"/> 2734 </v:shapetype><v:shape id="Text_x0020_Box_x0020_3" o:spid="_x0000_s1030" 2735 type="#_x0000_t202" style='position:absolute;left:0;text-align:left; 2736 margin-left:36.55pt;margin-top:-85.9pt;width:424.45pt;height:76.65pt; 2737 z-index:251672576;visibility:visible;mso-wrap-style:square; 2738 mso-width-percent:0;mso-height-percent:0;mso-wrap-distance-left:9pt; 2739 mso-wrap-distance-top:0;mso-wrap-distance-right:9pt; 2740 mso-wrap-distance-bottom:0;mso-position-horizontal:absolute; 2741 mso-position-horizontal-relative:text;mso-position-vertical:absolute; 2742 mso-position-vertical-relative:text;mso-width-percent:0;mso-height-percent:0; 2743 mso-width-relative:margin;mso-height-relative:margin;v-text-anchor:top' 2744 o:gfxdata="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 2776 di54bWxQSwUGAAAAAAQABADzAAAAMgYAAAAA 2777 " filled="f" strokecolor="#4f81bd"> 2778 <v:path arrowok="t"/> 2779 <v:textbox> 2780 <![if !mso]> 2781 <table cellpadding=0 cellspacing=0 width="100%"> 2782 <tr> 2783 <td><![endif]> 2784 <div> 2785 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>**** 2786 ERROR - variable list for this histogram does not match previous<o:p></o:p></span></p> 2787 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'><o:p> </o:p></span></p> 2788 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>current 2789 histogram PWDR OH_04.fxye Bank 1 has 6 variables<o:p></o:p></span></p> 2790 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>Variables 2791 in previous but not in current: 1::D22, 1::D33, 1::D11, <o:p></o:p></span></p> 2792 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'><o:p> </o:p></span></p> 2793 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>Previous 2794 refinement has 7 variables<o:p></o:p></span></p> 2795 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>Variables 2796 in current but not in previous: 1::Scale, 1::Mustrain;i, <o:p></o:p></span></p> 2797 <p class=MsoNormal><span style='font-family:"Cambria",serif'><o:p> </o:p></span></p> 2798 </div> 2799 <![if !mso]></td> 2800 </tr> 2801 </table> 2802 <![endif]></v:textbox> 2803 <w:wrap type="topAndBottom"/> 2804 </v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout'> 2667 <p class=MsoListParagraphCxSpLast> 2668 <span style='mso-ignore:vglayout'> 2805 2669 <table cellpadding=0 cellspacing=0> 2806 2670 <tr> … … 2814 2678 </tr> 2815 2679 </table> 2816 </span> <![endif]><!--[if gte vml 1]></o:wrapblock><![endif]--><br2817 style='mso-ignore:vglayout' clear=ALL>2680 </span> 2681 <br style='mso-ignore:vglayout' clear=ALL> 2818 2682 (This error results if the parameters for the second phase were not copied in 2819 2683 part 3 so that the phase fraction and strain broadening are retained for all … … 2884 2748 R-factor, from each fit. This shows a steady increase with temperature, as 2885 2749 might be expected if there were a systematic change in some sample parameters, 2886 such as strain or background or even atomic coordinates (which have not yet 2887 been fit). The Δχ<sup>2</sup> value in the third column shows the 2750 such as strain or background or even atomic coordinates (all of which have not yet 2751 been individually fit). 2752 The Δχ<sup>2</sup> value in the third column shows the 2888 2753 percent improvement in χ<sup>2</sup> seen in the last cycle of refinement. 2889 (If this changes from 4.1 to 4.0, then the value will be 100*(4.1-4.0)/4.0, or 2890 2.5). Since the convergence criterion in the controls is 0.0001 (or 0.01%) we 2891 can see that only one refinement failed to converge. However, these shifts are 2892 still quite small, so that there is no reason to provide further cycles of 2893 refinement without adding new variable parameters. </p> 2754 (As an example, if χ<sup>2</sup> were to change from 4.1 to 4.0, then the value will be 100*(4.1-4.0)/4.0, or 2755 2.5). Since the default convergence criterion in the controls is 2756 0.0001 (or 0.01%) small values, as shown above, indicate the 2757 refinement converged. It is good idea to make sure that shifts are 2758 small, if need be by running further cycles of 2759 refinement, before adding more parameters to be varied. </p> 2894 2760 2895 2761 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2941 2807 the <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2942 2808 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>K</span></b> 2943 icon or <span style='mso-bidi-font-weight:bold'>pressing the </span><b><span 2809 icon and selecting the "s - select x-axis" option or <span 2810 style='mso-bidi-font-weight:bold'>simply pressing the </span><b><span 2944 2811 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2945 2812 mso-hansi-theme-font:major-latin'>s</span></b><span style='mso-bidi-font-weight: 2946 2813 bold'> key</span> brings up a menu where the x-axis can be selected as 2947 temperature. If the plot fails to update, click on another column and then2948 return to the original column. 2814 temperature. (If the plot fails to update, click on another column and then 2815 return to the original column.)</p> 2949 2816 2950 2817 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 2972 2839 few steps. </p> 2973 2840 2841 <p class=MsoNormal><o:p> </o:p></p> 2842 2974 2843 <p class=MsoListParagraphCxSpFirst style='text-indent:-.25in;mso-list:l1 level1 lfo16'><![if !supportLists]><span 2975 2844 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>1.<span 2976 2845 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span 2977 2846 style='mso-bidi-font-weight:bold'>Restore the refinement of background 2978 parameters</span> as before for any one histogram and then <span 2847 parameters</span> as before. Do this by selecting the 2848 <b>Background</b> tree item for any one histogram, set the flags, as 2849 below. </p> 2850 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2851 2852 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; 2853 mso-no-proof:yes'> 2854 <img width=384 2855 src="SequentialTutorial_files/image138.png" v:shapes="Picture_x0020_47"></span></p> 2856 2857 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2858 <p class=MsoListParagraphCxSpMiddle> Then <span 2979 2859 style='mso-bidi-font-weight:bold'>use the<b> </b></span><b><span 2980 2860 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2981 2861 mso-hansi-theme-font:major-latin'>File/Copy flags</span></b> menu item to copy 2982 these refinement flags (only) to all other histograms. NB: <b style='mso-bidi-font-weight:2862 these refinement flags (only) to all other histograms. NB: the <b style='mso-bidi-font-weight: 2983 2863 normal'><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 2984 major-latin;mso-hansi-theme-font:major-latin'>Copy</span></b> would copy the 2985 parameter values as well; probably dont want to do that here. </p> 2986 2987 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2988 2989 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; 2990 mso-no-proof:yes'><span style='mso-spacerun:yes'> </span><!--[if gte vml 1]><v:shape 2991 id="Picture_x0020_47" o:spid="_x0000_i1035" type="#_x0000_t75" style='width:4in; 2992 height:132pt;visibility:visible;mso-wrap-style:square'> 2993 <v:imagedata src="SequentialTutorial_files/image081.png" o:title="" croptop="4514f" 2994 cropbottom="9604f" cropleft="4103f" cropright="3837f"/> 2995 </v:shape><![endif]--><![if !vml]><img width=384 height=176 2996 src="SequentialTutorial_files/image138.png" v:shapes="Picture_x0020_47"><![endif]><o:p></o:p></span></p> 2864 major-latin;mso-hansi-theme-font:major-latin'>File/Copy</span></b> 2865 menu item would copy the 2866 parameter values as well the flags; in this case it would not matter, since all 2867 the background values are still the same, but in general this is probably 2868 not what you will want to do here. </p> 2997 2869 2998 2870 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 3023 2895 <p class=MsoListParagraphCxSpFirst style='text-indent:-.25in;mso-list:l1 level1 lfo16'><![if !supportLists]><span 3024 2896 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>2.<span 3025 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Likewise, 3026 <span style='mso-bidi-font-weight:bold'>include the<b> </b></span><b><span 3027 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 3028 mso-hansi-theme-font:major-latin'>Sample X displ</span></b> parameter and again 2897 style='font:7.0pt "Times New Roman"'> 2898 </span></span></span><![endif]>Likewise, resume varying the 2899 <b><span 2900 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 2901 mso-hansi-theme-font:major-latin'>Sample X displacement</span></b> 2902 parameter on the <b>Sample Parameters</b> tab for any one histogram and again 3029 2903 use the <b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 3030 2904 major-latin;mso-hansi-theme-font:major-latin'>Command/Copy flags</span> </b><span 3031 style='mso-bidi-font-weight:bold'>menu item <b>.</b></span> </p>2905 style='mso-bidi-font-weight:bold'>menu item to all other histograms.</span> </p> 3032 2906 3033 2907 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 3047 2921 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l1 level1 lfo16'><![if !supportLists]><span 3048 2922 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>3.<span 3049 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>For 3050 Phase parameters <span style='mso-bidi-font-weight:bold'>add the three 3051 broadening terms</span> for the CuCr<sub>2</sub>O<sub>4</sub> phase and the <span 3052 style='mso-bidi-font-weight:bold'>press the<b> </b></span><b><span 3053 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 3054 mso-hansi-theme-font:major-latin'>Copy flags?</span> </b><span 3055 style='mso-bidi-font-weight:bold'>button</span>. (Important: not the Copy button!) 3056 For the <span style='mso-bidi-font-weight:bold'>CuO phase, add the single 3057 sample broadening term and the remaining lattice parameter</span> via the <b 3058 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 3059 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>D13</span></b> 3060 term.<span style='mso-spacerun:yes'> </span>Again, <span style='mso-bidi-font-weight: 3061 bold'>use the<b> </b></span><b><span style='font-family:"Calibri",sans-serif; 3062 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Copy flags?</span> 3063 </b><span style='mso-bidi-font-weight:bold'>button</span>. Note that an 3064 additional step is needed in order to vary Phase fractions, as will be 3065 discussed below. </p> 2923 style='font:7.0pt "Times New Roman"'> 2924 </span></span></span><![endif]>For the 2925 Phase/histogram parameters <span style='mso-bidi-font-weight:bold'>add the three 2926 broadening terms</span> for the CuCr<sub>2</sub>O<sub>4</sub> 2927 (<b>CuCr2O4; data tab</b>) phase; then use the <b>Edit Phase/Copy 2928 flags</b></span> menu item so that they are varied for all 2929 histograms. Do not use "Edit Phase/Copy data" menu item, as this would reset all 2930 the lattice constant displacements to a single set of values, wiping 2931 out the results of the previous refinement. 2932 </p> 2933 3066 2934 3067 2935 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 3076 2944 3077 2945 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2946 <p class=MsoListParagraphCxSpMiddle> 2947 For the <span style='mso-bidi-font-weight:bold'><b>CuO</b> phase, add the single 2948 sample broadening term and the remaining lattice parameter</span> via the <b 2949 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 2950 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>D13</span></b> 2951 term.<span style='mso-spacerun:yes'> </span>Again, <span style='mso-bidi-font-weight: 2952 bold'>use the<b> </b></span><b><span style='font-family:"Calibri",sans-serif; 2953 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Copy flags?</span> 2954 </b><span style='mso-bidi-font-weight:bold'>button</span>. 2955 3078 2956 3079 2957 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; … … 3084 2962 </v:shape><![endif]--><![if !vml]><img width=332 height=249 3085 2963 src="SequentialTutorial_files/image143.jpg" v:shapes="Picture_x0020_53"><![endif]></span></p> 2964 2965 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2966 <p class=MsoListParagraphCxSpMiddle> 2967 Note that we are not varying the Phase fractions, as this will require 2968 a change in the constraints, which will be 2969 discussed later. </p> 3086 2970 3087 2971 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 3096 2980 values between 13.8 and 17.</p> 3097 2981 3098 < p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p>3099 3100 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l1 level1 lfo16'><![if !supportLists]><span3101 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>5.<span 3102 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>We3103 can now add the phase fractions into the refinement, by clicking on the <b 3104 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 3105 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Phase 3106 fraction</span></b> checkbox and <b style='mso-bidi-font-weight:normal'><span2982 <h1>Step 8: Sequential refinement constraints</h1> 2983 2984 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 2985 2986 <p class=MsoListParagraphCxSpMiddle 2987 style='text-indent:-.25in;mso-list:l1 level1 lfo16'> 2988 1. We 2989 can now add the phase fractions into the refinement, by clicking on the <b> 2990 Phase fraction</b> checkbox and <b style='mso-bidi-font-weight:normal'><span 3107 2991 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 3108 2992 mso-hansi-theme-font:major-latin'>Copy Flags</span></b> button for both phases. 3109 However, if the refinement is attempted it will fail as soon as the second 3110 histogram is refined with this error:</p> 3111 3112 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3113 3114 <p class=MsoListParagraphCxSpMiddle><!--[if gte vml 1]><o:wrapblock><v:shape 3115 id="Text_x0020_Box_x0020_87" o:spid="_x0000_s1026" type="#_x0000_t202" 3116 style='position:absolute;left:0;text-align:left;margin-left:48.55pt; 3117 margin-top:-290.55pt;width:424.45pt;height:76.65pt;z-index:251691008; 3118 visibility:visible;mso-wrap-style:square;mso-width-percent:0; 3119 mso-height-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0; 3120 mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0; 3121 mso-position-horizontal:absolute;mso-position-horizontal-relative:text; 3122 mso-position-vertical:absolute;mso-position-vertical-relative:text; 3123 mso-width-percent:0;mso-height-percent:0;mso-width-relative:margin; 3124 mso-height-relative:margin;v-text-anchor:top' o:gfxdata="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 3157 " filled="f" strokecolor="#4f81bd"> 3158 <v:path arrowok="t"/> 3159 <v:textbox> 3160 <![if !mso]> 3161 <table cellpadding=0 cellspacing=0 width="100%"> 3162 <tr> 3163 <td><![endif]> 3164 <div> 3165 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>**** 3166 ERROR - variable list for this histogram does not match previous<o:p></o:p></span></p> 3167 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'><o:p> </o:p></span></p> 3168 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>current 3169 histogram PWDR OH_04.fxye Bank 1 has 24 variables<o:p></o:p></span></p> 3170 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>Variables 3171 in previous but not in current: ::constr0, <o:p></o:p></span></p> 3172 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'><o:p> </o:p></span></p> 3173 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>Previous 3174 refinement has 23 variables<o:p></o:p></span></p> 3175 <p class=MsoNormal><span style='font-size:10.0pt;font-family:Courier'>Variables 3176 in current but not in previous: 1::Scale, 0::Scale, <o:p></o:p></span></p> 3177 <p class=MsoNormal><span style='font-family:"Cambria",serif'><o:p> </o:p></span></p> 3178 </div> 3179 <![if !mso]></td> 3180 </tr> 3181 </table> 3182 <![endif]></v:textbox> 3183 <w:wrap type="topAndBottom"/> 3184 </v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout'> 3185 <table cellpadding=0 cellspacing=0 align=left> 3186 <tr> 3187 <td width=64 height=0></td> 3188 </tr> 3189 <tr> 3190 <td></td> 3191 <td><img width=572 height=109 src="SequentialTutorial_files/image144.png" 3192 alt="Text Box: **** ERROR - variable list for this histogram does not match previous current histogram PWDR OH_04.fxye Bank 1 has 24 variables Variables in previous but not in current: ::constr0, Previous refinement has 23 variables Variables in current but not in previous: 1::Scale, 0::Scale, " 3193 v:shapes="Text_x0020_Box_x0020_87"></td> 3194 </tr> 3195 </table> 3196 </span><![endif]><!--[if gte vml 1]></o:wrapblock><![endif]--><br 3197 style='mso-ignore:vglayout' clear=ALL> 2993 However, if the refinement is attempted at this point a subtle error 2994 will occur. If one looks at the phase fractions for all but the first 2995 histogram, the sum of the phase fractions will not add up to one. The 2996 reason for this is because the constraint we added in 2997 <a href="#constraint">Step 1, section 6.</a> 2998 only constrained the values of <tt>0:0:Scale</tt> and 2999 <tt>1:0:Scale</tt>. 3198 3000 </p> 3199 3001 3200 <p class=MsoListParagraphCxSpMiddle>One additional step is needed to switch the 3201 constraints to work properly. Note that constraint we defined before (on <b 3202 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 3203 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>0:0:Scale</span></b> 3204 and <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 3205 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>1:0:Scale</span></b>) 3206 pertains only to the first histogram. Note that a constraint is ignored if none 3207 of the variables in it are included in the refinement, so this constraint only 3208 affects the first histogram, giving rise to the error above. We could set up a 3209 constraint for each histogram that has been added, but this would be rather 3210 tedious to set up. The alternate is to set up a constraint where a wildcard (<span 3211 style='font-family:Courier'>*</span>) is used. Wildcards only apply to 3002 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3003 <p class=MsoListParagraphCxSpMiddle>We could define a new constraint 3004 for each histogram 3005 (on <tt>0:</tt><i>i</i><tt>:Scale</tt> and <tt>1:</tt><i>i</i><tt>:Scale</tt> 3006 for <i>i</i>=1,2,...), but this would be rather 3007 tedious. We have an 3008 alternate way to define this using a single constraint where a 3009 wildcard (<span 3010 style='font-family:Courier'>*</span>) is used for the histogram 3011 number. 3012 Wildcards only apply to 3212 3013 sequential fits and causes the current histogram number to be inserted for the <span 3213 3014 style='font-family:Courier'>*</span> when each histogram is used. </p> … … 3224 3025 item</span>, and then <span style='mso-bidi-font-weight:bold'>click on the </span><b><span 3225 3026 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 3226 mso-hansi-theme-font:major-latin'>Edit /Add constraint</span></b> menu item.3027 mso-hansi-theme-font:major-latin'>Edit Constr./Add constraint equation</span></b> menu item. 3227 3028 From the menu, we want one of the two <b><span style='font-family:"Calibri",sans-serif; 3228 3029 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>x:*:Scale</span></b><span … … 3256 3057 3257 3058 <p class=MsoListParagraphCxSpMiddle>The initial and the most recently defined 3258 constraints will then be shown. </p> 3059 constraints will then be shown. These two constraints do the same 3060 thing for the first histogram and do not interfere but it is best to 3061 remove the orignal constraint for simplicity.</p> 3259 3062 3260 3063 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; … … 3269 3072 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3270 3073 3271 <p class=MsoListParagraphCxSpMiddle>These two constraints will interfere when 3272 refining the with first histogram, so <span style='mso-bidi-font-weight:bold'>press 3273 the </span><b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 3274 major-latin;mso-hansi-theme-font:major-latin'>Delete</span></b><span 3275 style='mso-bidi-font-weight:bold'> button for the first</span> one to remove 3074 <p class=MsoListParagraphCxSpMiddle>To remove the initial constrain 3075 press the <b>Delete</b> button in front of the first constraint to remove 3276 3076 it.</p> 3277 3077 … … 3287 3087 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3288 3088 3289 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l1 level1 lfo16'><![if !supportLists]><span 3290 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>6.<span 3291 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Start 3089 <p class=MsoListParagraphCxSpMiddle style='text-indent:-.25in;mso-list:l1 level1 lfo16'> 3090 2. Start 3292 3091 the sequential refinement again with the <b><span style='font-family:"Calibri",sans-serif; 3293 3092 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Calculate/Sequential … … 3301 3100 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 3302 3101 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>1:*:Scale</span></b>. 3303 Changes to the R<sub>wp</sub> values are quite small, even though the value for 3102 Changes to the R<sub>wp</sub> values are quite small, even though the 3103 phase fraction for 3304 3104 the minor phase changes significantly. This indicates that the refinement is 3305 relatively insensitive to these values. </p> 3105 relatively insensitive to these values. This would be a good argument 3106 for fixing the value as a constant. </p> 3107 3108 <h1>Step 9: Atomic parameter refinement</h1> 3306 3109 3307 3110 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> … … 3311 3114 differently than the previous things we have refined. There is only one set of 3312 3115 coordinates for each phase and these will be refined for each histogram, but 3313 are not saved individually, except in the summary table.<span 3314 style='mso-spacerun:yes'> </span>If we restart the refinement, the coordinates 3315 from the last histogram will be used to fit the first. The Reverse order 3116 are not saved individually, except in the summary table.</p> 3117 3118 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3119 <p class=MsoListParagraphCxSpMiddle>This means that after the 3120 sequential refinement has been run, the atomic parameters in the 3121 phase(s) will correspond to the last histogram. 3122 If we repeat the sequential refinement, the coordinates, etc. 3123 from the last histogram will be used to fit the first histogram. This 3124 may work fine, but if the values have changed significantly between 3125 the first and last histogram, there could be problems. The Reverse order 3316 3126 checkbox on the Controls causes the sequential refinement to start with the 3317 last histogram, which would avoid this problem. </p> 3318 3319 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3320 3321 <p class=MsoListParagraphCxSpMiddle><span style='mso-bidi-font-weight:bold'>Select 3127 last histogram, which would avoid this issue. </p> 3128 3129 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3130 3131 <p class=MsoListParagraphCxSpLast 3132 style='text-indent:-.25in;mso-list:l1 level1 lfo16'> 3133 1. Select 3322 3134 the </span><b><span style='font-family:"Calibri",sans-serif;mso-ascii-theme-font: 3323 3135 major-latin;mso-hansi-theme-font:major-latin'>CuCr2O4</span></b><span … … 3348 3160 src="SequentialTutorial_files/image149.png" v:shapes="Picture_x0020_31"><![endif]></span></p> 3349 3161 3350 <p class=MsoListParagraphCxSpMiddle>Note the change in the atom table.</p> 3162 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3163 <p class=MsoListParagraphCxSpMiddle>Note the change in the atom table:</p> 3351 3164 3352 3165 <p class=MsoListParagraphCxSpMiddle><span style='mso-fareast-language:EN-US; … … 3364 3177 <p class=MsoListParagraphCxSpMiddle><o:p> </o:p></p> 3365 3178 3366 <p class=MsoListParagraphCxSpLast style='text-indent:-.25in;mso-list:l1 level1 lfo16'><![if !supportLists]><span3367 style=' mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>7.<span3368 style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]>Start3179 <p class=MsoListParagraphCxSpLast 3180 style='text-indent:-.25in;mso-list:l1 level1 lfo16'> 3181 2. Start 3369 3182 the sequential refinement again with the <b><span style='font-family:"Calibri",sans-serif; 3370 3183 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Calculate/Sequential 3371 3184 refine</span> </b><span style='mso-bidi-font-weight:bold'>menu item</span>. The 3372 fits are significantly improved at higher temperatures, with R<sub>wp</sub> 3373 values between 13.8 and 16.4. Be sure to save the project file by <span 3185 fits are somewhat at the higher temperatures, with R<sub>wp</sub> 3186 values between 13.8 and 16.4. As would be expected the Uiso values 3187 increase with temperature, but the Uiso values for the O atom are less 3188 than 0.0 at the lowest temperature. This indicates that these data are 3189 insufficient to determine atomic displacements accurately for such a 3190 relatively light atom.</p> 3191 3192 <p> 3193 This completes the sequential refinement tutorial, although several more things 3194 could be attempted to further improve the refinement quality. 3195 3196 Be sure to save the project file by <span 3374 3197 style='mso-bidi-font-weight:bold'>selecting the </span><b><span 3375 3198 style='font-family:"Calibri",sans-serif;mso-ascii-theme-font:major-latin; 3376 3199 mso-hansi-theme-font:major-latin'>File/Save project</span></b><span 3377 3200 style='mso-bidi-font-weight:bold'> menu item</span>, since this will used in a 3378 later tutorial.</p> 3379 3380 <p>This completes the sequential refinement tutorial, although many more things 3381 could be attempted to further improve the refinement quality. In the <b 3201 later tutorial. 3202 3203 In the <b 3382 3204 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri",sans-serif; 3383 3205 mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin'>Parametric -
trunk/GSASII.py
r2831 r2842 4063 4063 Called from the Calculate/View LS Parms menu. 4064 4064 ''' 4065 parmDict,varyList = self.MakeLSParmDict() 4065 try: 4066 parmDict,varyList = self.MakeLSParmDict() 4067 except: 4068 print('Error retrieving parameters') 4069 return 4066 4070 parmValDict = {} 4067 4071 for i in parmDict: -
trunk/GSASIIctrls.py
r2806 r2842 3158 3158 print('No helpKey for current dataFrame!') 3159 3159 helpType = self.HelpById.get(event.GetId(),helpKey) 3160 if helpType == 'Tutorials': 3160 if helpType == 'Tutorials': 3161 3161 dlg = OpenTutorial(self.frame) 3162 3162 dlg.ShowModal() … … 3997 3997 3998 3998 class OpenTutorial(wx.Dialog): 3999 '''Open a tutorial, optionally copying it to the local disk. Always copy 4000 the data files locally. 4001 4002 For now tutorials will always be copied into the source code tree, but it 4003 might be better to have an option to copy them somewhere else, for people 4004 who don't have write access to the GSAS-II source code location. 3999 '''Open a tutorial web page, optionally copying the web page, screen images and 4000 data file(s) to the local disk. 4005 4001 ''' 4006 4002 4007 def __init__(self,parent =None):4003 def __init__(self,parent): 4008 4004 style=wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER 4009 4005 wx.Dialog.__init__(self, parent, wx.ID_ANY, 'Open Tutorial', style=style) 4010 4006 self.frame = parent 4007 # self.frame can be the tree window frame or the data editing window frame, set G2frame to the 4008 # tree either way 4009 if hasattr(self.frame,'G2frame'): 4010 self.G2frame = self.frame.G2frame 4011 else: 4012 self.G2frame = self.frame 4011 4013 pnl = wx.Panel(self) 4012 4014 sizer = wx.BoxSizer(wx.VERTICAL) … … 4117 4119 G2MessageBox(self,'Error downloading tutorial','Download error') 4118 4120 self.EndModal(wx.ID_OK) 4121 self.G2frame.TutorialImportDir = os.path.join(self.tutorialPath,tutorialCatalog[j][0],'data') 4119 4122 4120 4123 def onSelectDownloaded(self,event): … … 4135 4138 self.EndModal(wx.ID_OK) 4136 4139 ShowWebPage(fullpath,self.frame) 4137 4140 self.G2frame.TutorialImportDir = os.path.join(self.tutorialPath,tutorialCatalog[j][0],'data') 4141 4138 4142 def onWebBrowse(self,event): 4139 4143 '''Make a list of all tutorials on web and allow user to view one. … … 4183 4187 selected = listbox.GetSelection() 4184 4188 dlg.Destroy() 4189 wx.Yield() # close window right away so user sees something happen 4185 4190 if selected < 0: return 4186 4191 return selected -
trunk/GSASIIgrid.py
r2840 r2842 1462 1462 ''' 1463 1463 def __init__(self,parent,title,parmDict,varyList,fullVaryList, 1464 size=(3 00,430)):1464 size=(375,430)): 1465 1465 1466 1466 wx.Dialog.__init__(self,parent,wx.ID_ANY,title,size=size, … … 1493 1493 self.hapVars = list(set([' ',]+[item[2] for item in splitNames if item[0] and item[1]])) 1494 1494 self.hapVars.sort() 1495 self.hisNum = ' 0'1496 self.phasNum = ' 0'1495 self.hisNum = ' ' 1496 self.phasNum = ' ' 1497 1497 self.varName = ' ' 1498 1498 self.listSel = 'Refined' … … 1505 1505 self.parmChoice = parmSel.GetStringSelection() 1506 1506 self.varName = ' ' 1507 wx.Call After(self.DrawPanel)1507 wx.CallLater(100,self.DrawPanel) 1508 1508 1509 1509 def OnPhasSel(event): … … 1511 1511 self.phasNum = phasSel.GetValue() 1512 1512 self.varName = ' ' 1513 wx.Call After(self.DrawPanel)1513 wx.CallLater(100,self.DrawPanel) 1514 1514 1515 1515 def OnHistSel(event): … … 1517 1517 self.hisNum = histSel.GetValue() 1518 1518 self.varName = ' ' 1519 wx.Call After(self.DrawPanel)1519 wx.CallLater(100,self.DrawPanel) 1520 1520 1521 1521 def OnVarSel(event): … … 1523 1523 self.phasNum = ' ' 1524 1524 self.hisNum = ' ' 1525 wx.Call After(self.DrawPanel)1525 wx.CallLater(100,self.DrawPanel) 1526 1526 1527 1527 def OnListSel(event): 1528 1528 self.listSel = listSel.GetStringSelection() 1529 wx.Call After(self.DrawPanel)1529 wx.CallLater(100,self.DrawPanel) 1530 1530 1531 1531 if self.panel: 1532 self.panel.DestroyChildren() 1532 #self.panel.DestroyChildren() # Bad on Mac: deletes scroll bars 1533 sizer = self.panel.GetSizer() 1534 if sizer: sizer.DeleteWindows() 1535 1533 1536 mainSizer = wx.BoxSizer(wx.VERTICAL) 1534 1537 num = len(self.varyList) … … 1566 1569 parmSizer.Add(numSizer) 1567 1570 varSizer = wx.BoxSizer(wx.VERTICAL) 1568 varSizer.Add(wx.StaticText(self.panel,label='Parameter'))1569 1571 if self.parmChoice in ['Phase',]: 1570 1572 varSel = wx.ComboBox(self.panel,choices=self.phasVars,value=self.varName, … … 1580 1582 varSel.Bind(wx.EVT_COMBOBOX,OnVarSel) 1581 1583 if self.parmChoice != 'Global': 1584 varSizer.Add(wx.StaticText(self.panel,label='Parameter')) 1582 1585 varSizer.Add(varSel,0) 1583 1586 parmSizer.Add(varSizer,0) 1584 1587 mainSizer.Add(parmSizer,0) 1585 1588 listChoice = ['All','Refined'] … … 1598 1601 # skip entries without numerical values 1599 1602 if isinstance(self.parmDict[name],basestring): continue 1600 if 'Refined' in self.listSel and (name not in self.fullVaryList): continue 1603 if 'Refined' in self.listSel and (name not in self.fullVaryList 1604 ) and (name not in self.varyList): 1605 continue 1601 1606 if 'Phase' in self.parmChoice: 1602 1607 if self.phasNum != ' ' and name.split(':')[0] != self.phasNum: continue -
trunk/GSASIIphsGUI.py
r2841 r2842 5652 5652 UseList = data['Histograms'] 5653 5653 hist = G2frame.hist 5654 keyList = G2frame.GetHistogramNames(hist[:4]) 5654 keyList = G2frame.GetHistogramNames(hist[:4])[:] 5655 if hist in keyList: keyList.remove(hist) 5655 5656 sourceDict = UseList[hist] 5656 5657 if 'HKLF' in sourceDict['Histogram']: … … 5662 5663 copyDict[name] = copy.deepcopy(sourceDict[name]) #force copy 5663 5664 if UseList: 5664 dlg = G2G.G2MultiChoiceDialog(G2frame.dataFrame, 'Copy parameters', 5665 'Copy parameters to which histograms?',keyList) 5665 dlg = G2G.G2MultiChoiceDialog(G2frame.dataFrame, 5666 u'Copy phase/histogram parameters\nfrom '+hist[5:][:35], 5667 'Copy phase/hist parameters', keyList) 5666 5668 try: 5667 5669 if dlg.ShowModal() == wx.ID_OK: … … 5705 5707 for bab in babNames: 5706 5708 copyDict[name][bab] = sourceDict[name][bab][1] 5707 keyList = G2frame.GetHistogramNames(hist[:4]) 5709 keyList = G2frame.GetHistogramNames(hist[:4])[:] 5710 if hist in keyList: keyList.remove(hist) 5708 5711 if UseList: 5709 dlg = G2G.G2MultiChoiceDialog(G2frame.dataFrame, 'Copy parameters',5710 'Copy parameters to which histograms?',5711 keyList)5712 dlg = G2G.G2MultiChoiceDialog(G2frame.dataFrame, 5713 u'Copy phase/histogram flags\nfrom '+hist[5:][:35], 5714 'Copy phase/hist flags', keyList) 5712 5715 try: 5713 5716 if dlg.ShowModal() == wx.ID_OK: … … 5749 5752 UseList = data['Histograms'] 5750 5753 hist = G2frame.hist 5751 keyList = G2frame.GetHistogramNames(hist[:4]) 5754 keyList = G2frame.GetHistogramNames(hist[:4])[:] 5755 if hist in keyList: keyList.remove(hist) 5752 5756 sourceDict = UseList[hist] 5753 5757 copyDict = {} … … 5769 5773 copyDict[parm] = copy.deepcopy(sourceDict[parm]) 5770 5774 if UseList: 5771 dlg = G2G.G2MultiChoiceDialog(G2frame.dataFrame, 'Copy parameters', 5772 'Copy parameters to which histograms?',keyList) 5775 dlg = G2G.G2MultiChoiceDialog(G2frame.dataFrame, 5776 u'Copy selected phase/histogram parameters\nfrom '+hist[5:][:35], 5777 'Copy selected phase/hist parameters', keyList) 5773 5778 try: 5774 5779 if dlg.ShowModal() == wx.ID_OK:
Note: See TracChangeset
for help on using the changeset viewer.