Changeset 720
- Timestamp:
- Aug 17, 2012 4:55:11 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r713 r720 2781 2781 2782 2782 def RenderMapPeak(x,y,z,color): 2783 vecs = np.array([[[-.01,0,0],[.01,0,0]],[[0,-.01,0],[0,.01,0]],[[0,0,-.01],[0,0,.01]]]) 2783 vecs = np.array([[[-.1/cell[0],0,0],[.1/cell[0],0,0]], 2784 [[0,-.1/cell[1],0],[0,.1/cell[1],0]], 2785 [[0,0,-.1/cell[2]],[0,0,.1/cell[2]]]]) 2784 2786 xyz = np.array([x,y,z]) 2785 2787 glEnable(GL_COLOR_MATERIAL) -
trunk/help/Laboratory X.htm
r718 r720 23 23 <o:Author>Von Dreele</o:Author> 24 24 <o:LastAuthor>Von Dreele</o:LastAuthor> 25 <o:Revision>1 6</o:Revision>26 <o:TotalTime>1 446</o:TotalTime>25 <o:Revision>18</o:Revision> 26 <o:TotalTime>1510</o:TotalTime> 27 27 <o:Created>2012-05-08T16:04:00Z</o:Created> 28 <o:LastSaved>2012-08-16T1 7:41:00Z</o:LastSaved>28 <o:LastSaved>2012-08-16T19:34:00Z</o:LastSaved> 29 29 <o:Pages>9</o:Pages> 30 <o:Words>313 2</o:Words>31 <o:Characters>178 55</o:Characters>30 <o:Words>3133</o:Words> 31 <o:Characters>17863</o:Characters> 32 32 <o:Company>Argonne National Laboratory</o:Company> 33 33 <o:Lines>148</o:Lines> 34 34 <o:Paragraphs>41</o:Paragraphs> 35 <o:CharactersWithSpaces>209 46</o:CharactersWithSpaces>35 <o:CharactersWithSpaces>20955</o:CharactersWithSpaces> 36 36 <o:Version>14.00</o:Version> 37 37 </o:DocumentProperties> … … 980 980 <p class=MsoNormal>In this tutorial you will refine the structure of <span 981 981 class=SpellE>fluoroapatite</span>, <span class=GramE>Ca<sub>5</sub>F(</span>PO<sub>4</sub>)<sub>3</sub>, 982 using constant wavelength laboratory X-ray powder diffraction data. At the completion 983 of the refinement you will then prepare a drawing of the <span class=SpellE>fluoroapatite</span> 984 structure. The structure is hexagonal with four different kinds of atoms spread 985 over seven different sites. The data was taken on a conventional Bragg-Brentano 986 powder diffractometer using <span class=SpellE>CuK</span><sub><span 987 style='font-family:Symbol'>a</span></sub> radiation.</p> 982 using constant wavelength laboratory X-ray powder diffraction data. At the 983 completion of the refinement you will then prepare a drawing of the <span 984 class=SpellE>fluoroapatite</span> structure. The structure is hexagonal with 985 four different kinds of atoms spread over seven different sites. The data was 986 taken on a conventional Bragg-Brentano powder diffractometer using <span 987 class=SpellE>CuK</span><sub><span style='font-family:Symbol'>a</span></sub> 988 radiation.</p> 988 989 989 990 <p class=MsoNormal>If you have not done so already, <a … … 1338 1339 class=SpellE>pulldown</span> menu. Select <b style='mso-bidi-font-weight:normal'><span 1339 1340 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin; 1340 mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>from GSAS 1341 .EXP file. </span></b>The file selection dialog will still be set to the 1342 directorythe data was found; click on <b style='mso-bidi-font-weight:normal'><span1341 mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>from GSAS .EXP 1342 file. </span></b>The file selection dialog will still be set to the directory 1343 the data was found; click on <b style='mso-bidi-font-weight:normal'><span 1343 1344 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin; 1344 1345 mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>FAP.EXP</span></b> … … 1374 1375 src="Laboratory%20X_files/image002.png" v:shapes="Picture_x0020_4"><![endif]></span></p> 1375 1376 1376 <p class=MsoNormal>You can see that the number of each kind of atom gives 2 1377 formula units per cell. To add the powder data to this phase click on the Data 1378 t ab and then select <b style='mso-bidi-font-weight:normal'><span1379 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin; 1380 m so-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>Edit/Add1381 powder histograms</span></b> from the menu. A <b style='mso-bidi-font-weight:1382 normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:1383 minor-latin;mso- hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>Use1384 data</span></b> window will appear with only one choice <b style='mso-bidi-font-weight: 1385 normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font: 1386 m inor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>PWDR1387 FAP.XRA: BANK 1</span></b>. Select it and press <b style='mso-bidi-font-weight: 1388 normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font: 1389 m inor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>OK</span></b>.1377 <p class=MsoNormal>You can see that the number of each kind of atom gives 2 formula 1378 units per cell. To add the powder data to this phase click on the Data tab and 1379 then select <b style='mso-bidi-font-weight:normal'><span style='font-family: 1380 "Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-hansi-theme-font: 1381 minor-latin;mso-bidi-theme-font:minor-latin'>Edit/Add powder histograms</span></b> 1382 from the menu. A <b style='mso-bidi-font-weight:normal'><span style='font-family: 1383 "Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-hansi-theme-font: 1384 minor-latin;mso-bidi-theme-font:minor-latin'>Use data</span></b> window will 1385 appear with only one choice <b style='mso-bidi-font-weight:normal'><span 1386 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin; 1387 mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>PWDR FAP.XRA: 1388 BANK 1</span></b>. Select it and press <b style='mso-bidi-font-weight:normal'><span 1389 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin; 1390 mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>OK</span></b>. 1390 1391 The <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif"; 1391 1392 mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font: … … 1402 1403 src="Laboratory%20X_files/image003.png" v:shapes="Picture_x0020_13"><![endif]></span></p> 1403 1404 1404 <p class=MsoNormal>We will return to this window later when we consider the effect1405 of crystallite size and mustrain broadening.</p>1405 <p class=MsoNormal>We will return to this window later when we consider the 1406 effect of crystallite size and mustrain broadening.</p> 1406 1407 1407 1408 <h2>Step 4: Adjust background parameterization</h2> … … 1726 1727 src="Laboratory%20X_files/image015.png" v:shapes="Picture_x0020_26"><![endif]></span></p> 1727 1728 1728 <p class=MsoNormal>The refinement is now essentially complete. The console1729 displays the result of the last cycle of refinement with values and <span 1730 class=SpellE>esds</span> for all the parameters</p>1729 <p class=MsoNormal>The refinement is now essentially complete. The file <span 1730 class=SpellE>fap.lst</span> has the result of the last cycle of refinement with 1731 values and <span class=SpellE>esds</span> for all the parameters</p> 1731 1732 1732 1733 <p class=MsoNormal><span style='font-size:8.0pt;font-family:"Courier New"'>Refinement … … 2156 2157 Atoms</span></b> menu. A color selection dialog box will appear (NB: this 2157 2158 dialog is operating system dependent we will assume you are using a Windows7 2158 machine). The dialog box looks like</p> 2159 machine). The dialog box looks like (I pressed <b style='mso-bidi-font-weight: 2160 normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font: 2161 minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>Define 2162 Custom Colors</span></b>)</p> 2159 2163 2160 2164 <p class=MsoNormal style='margin-left:.25in'><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape … … 2166 2170 2167 2171 <p class=MsoNormal style='margin-left:.25in'>The steps for changing a color is 2168 to a) choose your color by eitherfinding it in <b style='mso-bidi-font-weight:2172 to either a) choose your color by finding it in <b style='mso-bidi-font-weight: 2169 2173 normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font: 2170 2174 minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>Basic 2171 colors</span></b> or by moving the cross around on the spectrum display b) 2172 press <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif"; 2173 mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font: 2174 minor-latin'>Add to Custom Colors</span></b>; that puts it in the <b 2175 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif"; 2176 mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font: 2177 minor-latin'>Custom colors</span></b> table c) Select that custom color and 2178 press <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif"; 2179 mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font: 2180 minor-latin'>OK</span></b>. The drawing will now show that color for the atoms 2181 (you may have to select the plot for that to happen) and the color will appear 2182 in the <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif"; 2175 colors</span></b> and then press <b style='mso-bidi-font-weight:normal'><span 2176 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin; 2177 mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>OK</span></b> 2178 or b) press <b style='mso-bidi-font-weight:normal'><span style='font-family: 2179 "Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-hansi-theme-font: 2180 minor-latin;mso-bidi-theme-font:minor-latin'>Define Custom Colors</span></b>, move 2181 the cross around on the spectrum display, set the vertical slider for the 2182 luminosity (<span class=SpellE><b style='mso-bidi-font-weight:normal'><span 2183 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin; 2184 mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>ColorSolid</span></b></span> 2185 will show the result), and then press <b style='mso-bidi-font-weight:normal'><span 2186 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin; 2187 mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin'>OK</span></b>. 2188 The drawing will now show that color for the atoms and the color will appear in 2189 the <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif"; 2183 2190 mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font: 2184 2191 minor-latin'>Draw Atoms</span></b> table. If you dont like your colors select <b
Note: See TracChangeset
for help on using the changeset viewer.