Changeset 1195


Ignore:
Timestamp:
Jan 13, 2014 1:38:24 PM (8 years ago)
Author:
vondreele
Message:

Add an update d-zero command
add new tutorial for strain fitting

Location:
trunk
Files:
19 added
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r1189 r1195  
    101101
    102102[ wxID_STRSTACOPY, wxID_STRSTAFIT, wxID_STRSTASAVE, wxID_STRSTALOAD,wxID_APPENDDZERO,
    103     wxID_STRSTAALLFIT,
    104 ] = [wx.NewId() for item in range(6)]
     103    wxID_STRSTAALLFIT,wxID_UPDATEDZERO,
     104] = [wx.NewId() for item in range(7)]
    105105
    106106[ wxID_BACKCOPY,wxID_LIMITCOPY,wxID_SAMPLECOPY, wxID_BACKFLAGCOPY, wxID_SAMPLEFLAGCOPY,
     
    24242424        self.StrStaEdit.Append(help='Fit stress/strain data',
    24252425            id=wxID_STRSTAFIT, kind=wx.ITEM_NORMAL,text='Fit stress/strain')
     2426        self.StrStaEdit.Append(help='Update d-zero from ave d-zero',
     2427            id=wxID_UPDATEDZERO, kind=wx.ITEM_NORMAL,text='Update d-zero')       
    24262428        self.StrStaEdit.Append(help='Fit stress/strain data for all images',
    24272429            id=wxID_STRSTAALLFIT, kind=wx.ITEM_NORMAL,text='All image fit')
  • trunk/GSASIIimgGUI.py

    r1192 r1195  
    13261326            'ImxyObs':[[],[]],'ImtaObs':[[],[]],'ImtaCalc':[[],[]],'Emat':[1.0,1.0,1.0]})
    13271327        UpdateStressStrain(G2frame,data)
     1328       
     1329    def OnUpdateDzero(event):
     1330        for item in data['d-zero']:
     1331            if item['Dcalc']:   #skip unrefined ones
     1332                item['Dset'] = item['Dcalc']
     1333        UpdateStressStrain(G2frame,data)
    13281334           
    13291335    def OnCopyStrSta(event):
     
    13561362                        ifcopy,name,id = item
    13571363                        if ifcopy:
    1358                             oldData = copy.deepcopy(G2frame.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(G2frame,id, 'Stress/Strain')))
    13591364                            G2frame.PatternTree.SetItemPyData(G2gd.GetPatternTreeItemId(G2frame,id, 'Stress/Strain'),copy.deepcopy(Data))
    13601365            finally:
     
    13991404        UpdateStressStrain(G2frame,data)
    14001405        G2plt.PlotExposedImage(G2frame,event=event)
    1401         G2plt.PlotStrain(G2frame,data,newPlot=False)
     1406        G2plt.PlotStrain(G2frame,data,newPlot=True)
    14021407       
    14031408    def OnAllFitStrSta(event):
     
    14961501                G2frame.ErrorDialog('Strain peak selection','WARNING - No points found for this ring selection')
    14971502               
    1498         #sort them on d-spacing?
    14991503            UpdateStressStrain(G2frame,data)
    1500             G2plt.PlotExposedImage(G2frame,event=event)
    1501             G2plt.PlotStrain(G2frame,data,newPlot=False)
     1504            G2plt.PlotExposedImage(G2frame,event=event,newPlot=False)
     1505            G2plt.PlotStrain(G2frame,data,newPlot=True)
    15021506           
    15031507        def OnDeleteDzero(event):
     
    15051509            del(data['d-zero'][delIndx.index(Obj)])
    15061510            UpdateStressStrain(G2frame,data)
    1507             G2plt.PlotExposedImage(G2frame,event=event)
    1508             G2plt.PlotStrain(G2frame,data,newPlot=False)
     1511            G2plt.PlotExposedImage(G2frame,event=event,newPlot=True)
     1512            G2plt.PlotStrain(G2frame,data,newPlot=True)
    15091513       
    15101514        def OnCutOff(event):
     
    15161520            Obj.SetValue("%.1f"%(value))
    15171521            data['d-zero'][Indx[Obj.GetId()]]['cutoff'] = value
     1522            Ring,R = G2img.MakeStrStaRing(data['d-zero'][Indx[Obj.GetId()]],G2frame.ImageZ,Controls)
    15181523            G2plt.PlotExposedImage(G2frame,event=event)
    1519             G2plt.PlotStrain(G2frame,data,newPlot=False)
     1524            G2plt.PlotStrain(G2frame,data,newPlot=True)
    15201525       
    15211526        def OnPixLimit(event):
    15221527            Obj = event.GetEventObject()
    15231528            data['d-zero'][Indx[Obj.GetId()]]['pixLimit'] = int(Obj.GetValue())
     1529            Ring,R = G2img.MakeStrStaRing(data['d-zero'][Indx[Obj.GetId()]],G2frame.ImageZ,Controls)
    15241530            G2plt.PlotExposedImage(G2frame,event=event)
    1525             G2plt.PlotStrain(G2frame,data,newPlot=False)
     1531            G2plt.PlotStrain(G2frame,data,newPlot=True)
    15261532           
    15271533        Indx = {}
     
    15791585    G2gd.SetDataMenuBar(G2frame,G2frame.dataFrame.StrStaMenu)
    15801586    G2frame.dataFrame.Bind(wx.EVT_MENU, OnAppendDzero, id=G2gd.wxID_APPENDDZERO)
     1587    G2frame.dataFrame.Bind(wx.EVT_MENU, OnUpdateDzero, id=G2gd.wxID_UPDATEDZERO)
    15811588    G2frame.dataFrame.Bind(wx.EVT_MENU, OnFitStrSta, id=G2gd.wxID_STRSTAFIT)
    15821589    G2frame.dataFrame.Bind(wx.EVT_MENU, OnAllFitStrSta, id=G2gd.wxID_STRSTAALLFIT)
  • trunk/help/Calibration of an area detector in GSAS.htm

    r1114 r1195  
    2525  <o:Author>Von Dreele</o:Author>
    2626  <o:LastAuthor>Von Dreele</o:LastAuthor>
    27   <o:Revision>14</o:Revision>
    28   <o:TotalTime>137</o:TotalTime>
     27  <o:Revision>16</o:Revision>
     28  <o:TotalTime>160</o:TotalTime>
    2929  <o:Created>2012-05-04T19:00:00Z</o:Created>
    30   <o:LastSaved>2013-04-30T17:13:00Z</o:LastSaved>
     30  <o:LastSaved>2014-01-13T15:33:00Z</o:LastSaved>
    3131  <o:Pages>4</o:Pages>
    32   <o:Words>695</o:Words>
    33   <o:Characters>3966</o:Characters>
     32  <o:Words>832</o:Words>
     33  <o:Characters>4745</o:Characters>
    3434  <o:Company>Argonne National Laboratory</o:Company>
    35   <o:Lines>33</o:Lines>
    36   <o:Paragraphs>9</o:Paragraphs>
    37   <o:CharactersWithSpaces>4652</o:CharactersWithSpaces>
     35  <o:Lines>39</o:Lines>
     36  <o:Paragraphs>11</o:Paragraphs>
     37  <o:CharactersWithSpaces>5566</o:CharactersWithSpaces>
    3838  <o:Version>14.00</o:Version>
    3939 </o:DocumentProperties>
     
    348348 /* Font Definitions */
    349349 @font-face
    350         {font-family:"Cambria Math";
    351         panose-1:2 4 5 3 5 4 6 3 2 4;
    352         mso-font-charset:0;
    353         mso-generic-font-family:roman;
    354         mso-font-pitch:variable;
    355         mso-font-signature:-536870145 1107305727 0 0 415 0;}
    356 @font-face
    357350        {font-family:Calibri;
    358351        panose-1:2 15 5 2 2 2 4 3 2 4;
     
    880873 <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
    881874 <o:lock v:ext="edit" aspectratio="t"/>
    882 </v:shapetype><v:shape id="_x0000_i1032" type="#_x0000_t75" style='width:300pt;
    883  height:187.5pt;visibility:visible;mso-wrap-style:square'>
     875</v:shapetype><v:shape id="Picture_x0020_1" o:spid="_x0000_i1032" type="#_x0000_t75"
     876 style='width:300pt;height:187.5pt;visibility:visible;mso-wrap-style:square'>
    884877 <v:imagedata src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image001.png"
    885878  o:title=""/>
    886879</v:shape><![endif]--><![if !vml]><img border=0 width=400 height=250
    887880src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image001.png"
    888 v:shapes="_x0000_i1032"><![endif]></span></p>
     881v:shapes="Picture_x0020_1"><![endif]></span></p>
    889882
    890883<p class=MsoNormal>At this point the data tree window will have several
     
    895888
    896889<p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
    897  id="Picture_x0020_10" o:spid="_x0000_i1031" type="#_x0000_t75" style='width:472.5pt;
    898  height:342pt;visibility:visible;mso-wrap-style:square'>
     890 id="Picture_x0020_10" o:spid="_x0000_i1031" type="#_x0000_t75" style='width:471.75pt;
     891 height:349.5pt;visibility:visible;mso-wrap-style:square'>
    899892 <v:imagedata src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image002.png"
    900893  o:title=""/>
    901 </v:shape><![endif]--><![if !vml]><img border=0 width=630 height=456
     894</v:shape><![endif]--><![if !vml]><img border=0 width=629 height=466
    902895src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image002.png"
    903896v:shapes="Picture_x0020_10"><![endif]></span></p>
    904897
    905898<p class=MsoNormal><span style='mso-spacerun:yes'> </span>The plot window shows
    906 the image; notice the elliptical shape of the powder diffraction rings
    907 due to the 45 degree detector tilt. The
    908 blue <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
    909 mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
    910 Calibri;mso-bidi-theme-font:minor-latin;color:#4F81BD;mso-themecolor:accent1'>X</span></b>
    911 marks the beam location (which defaults to the image center); the
    912 calibration you will perform here will find the correct
    913 placement for it. Also note that as the mouse is moved across the plot
    914 the plot window status bar (at bottom of plot window) shows the
    915 cursor position, as computed from the default (incorrect)
    916 calibration values. These constants will be correctly determined after you finish the calibration.</p>
     899the image; notice the elliptical shape of the powder diffraction rings due to
     900the 45 degree detector tilt. The blue <b style='mso-bidi-font-weight:normal'><span
     901style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     902mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;mso-bidi-theme-font:
     903minor-latin;color:#4F81BD;mso-themecolor:accent1'>X</span></b> marks the beam
     904location (which defaults to the image center); the calibration you will perform
     905here will find the correct placement for it. Also note that as the mouse is
     906moved across the plot the plot window status bar (at bottom of plot window)
     907shows the cursor position, as computed from the default (incorrect) calibration
     908values. These constants will be correctly determined after you finish the
     909calibration.</p>
    917910
    918911<p class=MsoNormal><span style='mso-spacerun:yes'> </span><span
    919 style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="Picture_x0020_11"
     912style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape id="Picture_x0020_3"
    920913 o:spid="_x0000_i1030" type="#_x0000_t75" style='width:525pt;height:450pt;
    921914 visibility:visible;mso-wrap-style:square'>
     
    924917</v:shape><![endif]--><![if !vml]><img border=0 width=700 height=600
    925918src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image003.png"
    926 v:shapes="Picture_x0020_11"><![endif]></span></p>
     919v:shapes="Picture_x0020_3"><![endif]></span></p>
    927920
    928921<h1><span style='mso-spacerun:yes'> </span>Step 2: Edit image parameters</h1>
     
    965958Calibri;mso-bidi-theme-font:minor-latin'>LaB6 SRM660a</span></b></p>
    966959
    967 <h3><span style='mso-spacerun:yes'> </span>Second: </h3>
     960<h3>Second: </h3>
    968961
    969962<p class=MsoNormal><span style='mso-spacerun:yes'>   </span>Use the <b
     
    994987mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;mso-bidi-theme-font:
    995988minor-latin;color:red'>+</span></b>&quot; is added to the plot. You need not
    996 hit the ring exactly as the code will search for the locally highest
    997 point. (On the Mac with a two or three button mouse, also use the left
    998 mouse button, or with a standard Mac single-button mouse, use the
    999 regular mouse button.)</p>
     989hit the ring exactly as the code will search for the locally highest point. (On
     990the Mac with a two or three button mouse, also use the left mouse button, or
     991with a standard Mac single-button mouse, use the regular mouse button.)</p>
    1000992
    1001993<p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
     
    10091001
    10101002<p class=MsoNormal><span style='mso-spacerun:yes'>  </span>To remove a point
    1011 added in error click on that point with the right mouse button
    1012 (on the Mac, if you have a single-button mouse, hold the control key
    1013 down and click).
    1014 </p>
     1003added in error click on that point with the right mouse button (on the Mac, if
     1004you have a single-button mouse, hold the control key down and click). </p>
    10151005
    10161006<h3><span style='mso-spacerun:yes'> </span>Fourth:</h3>
    10171007
    10181008<p class=MsoNormal><span style='mso-spacerun:yes'>  </span>When done, press the
    1019 right mouse button well away from any points that have been added
    1020 (on the Mac, if you have a single-button mouse, hold the control key
    1021 down and click).
    1022 </p>
     1009right mouse button well away from any points that have been added (on the Mac,
     1010if you have a single-button mouse, hold the control key down and click). </p>
    10231011
    10241012<p class=MsoNormal>The calibration is then performed. First the rings are
     
    10511039
    10521040<p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
    1053  id="Picture_x0020_13" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:472.5pt;
    1054  height:342pt;visibility:visible;mso-wrap-style:square'>
     1041 id="Picture_x0020_11" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:471.75pt;
     1042 height:349.5pt;visibility:visible;mso-wrap-style:square'>
    10551043 <v:imagedata src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image006.png"
    10561044  o:title=""/>
    1057 </v:shape><![endif]--><![if !vml]><img border=0 width=630 height=456
     1045</v:shape><![endif]--><![if !vml]><img border=0 width=629 height=466
    10581046src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image006.png"
    1059 v:shapes="Picture_x0020_13"><![endif]></span><span
     1047v:shapes="Picture_x0020_11"><![endif]></span><span
    10601048style='mso-spacerun:yes'> </span></p>
    10611049
     
    10641052
    10651053<p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
    1066  id="Picture_x0020_14" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:396.75pt;
    1067  height:134.25pt;visibility:visible;mso-wrap-style:square'>
     1054 id="Picture_x0020_13" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:453.75pt;
     1055 height:107.25pt;visibility:visible;mso-wrap-style:square'>
    10681056 <v:imagedata src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image007.png"
    10691057  o:title=""/>
    1070 </v:shape><![endif]--><![if !vml]><img border=0 width=529 height=179
     1058</v:shape><![endif]--><![if !vml]><img border=0 width=605 height=143
    10711059src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image007.png"
    1072 v:shapes="Picture_x0020_14"><![endif]></span></p>
    1073 
    1074 <p class=MsoNormal><span style='mso-spacerun:yes'> </span>To see the actual
    1075 points selected by the program, click on the <b style='mso-bidi-font-weight:
     1060v:shapes="Picture_x0020_13"><![endif]></span></p>
     1061
     1062<p class=MsoNormal>The <b style='mso-bidi-font-weight:normal'><span
     1063style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     1064mso-hansi-theme-font:minor-latin'>distance</span></b> is from the sample to the
     1065plane containing the detector, <span class=SpellE><b style='mso-bidi-font-weight:
    10761066normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:
    1077 minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;
    1078 mso-bidi-theme-font:minor-latin'>show ring picks?</span></b> <span class=GramE>check</span>
    1079 box </p>
     1067minor-latin;mso-hansi-theme-font:minor-latin'>det</span></b></span><b
     1068style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
     1069mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin'>-x</span></b>
     1070&amp; <span class=SpellE><b style='mso-bidi-font-weight:normal'><span
     1071style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     1072mso-hansi-theme-font:minor-latin'>det</span></b></span><b style='mso-bidi-font-weight:
     1073normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:
     1074minor-latin;mso-hansi-theme-font:minor-latin'>-y</span></b> is the incident
     1075beam location on the image, <b style='mso-bidi-font-weight:normal'><span
     1076style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     1077mso-hansi-theme-font:minor-latin'>tilt</span></b> is the angle of detector
     1078rotation from being normal to the incident beam and <b style='mso-bidi-font-weight:
     1079normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:
     1080minor-latin;mso-hansi-theme-font:minor-latin'>phi</span></b> is the rotation of
     1081the detector tilt axis from the x-axis. <span
     1082style='mso-spacerun:yes'> </span>To see the actual points selected by the
     1083program, click on the <b style='mso-bidi-font-weight:normal'><span
     1084style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     1085mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;mso-bidi-theme-font:
     1086minor-latin'>show ring picks?</span></b> <span class=GramE>check</span> box </p>
    10801087
    10811088<p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
    1082  id="Picture_x0020_15" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:525pt;
     1089 id="Picture_x0020_14" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:525pt;
    10831090 height:450pt;visibility:visible;mso-wrap-style:square'>
    10841091 <v:imagedata src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image008.png"
     
    10861093</v:shape><![endif]--><![if !vml]><img border=0 width=700 height=600
    10871094src="Calibration%20of%20an%20area%20detector%20in%20GSAS_files/image008.png"
    1088 v:shapes="Picture_x0020_15"><![endif]></span><span
     1095v:shapes="Picture_x0020_14"><![endif]></span><span
    10891096style='mso-spacerun:yes'> </span><span style='color:#1F497D;mso-themecolor:
    10901097text2'><o:p></o:p></span></p>
     
    10961103mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
    10971104Calibri;mso-bidi-theme-font:minor-latin'>Operations/Recalibrate</span></b> menu
    1098 item.</p>
    1099 
    1100 <p class=MsoNormal>Assuming that these calibration results will be applied to
    1101 other images in the same GSAS-II project, click on <b style='mso-bidi-font-weight:
     1105item. In cases where particular types of detectors are used close to the sample
     1106and the diffraction pattern extends to near the edges of the detector, the <b
     1107style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
     1108mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin'>Penetration</span></b>
     1109correction may need to be refined. Just select the check box and do <b
     1110style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
     1111mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
     1112Calibri;mso-bidi-theme-font:minor-latin'>Operations/Recalibrate</span></b>, the
     1113result should be &gt;0 for a reasonable correction. Close examination of the
     1114outer rings will show a small shift in the calculated rings to better match the
     1115observed ones. Assuming that these calibration results will be applied to other
     1116images in the same GSAS-II project, click on <b style='mso-bidi-font-weight:
    11021117normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:
    11031118minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;
     
    11111126mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
    11121127Calibri;mso-bidi-theme-font:minor-latin'>Operations/Save Controls</span></b>
    1113 menu item. To save the project, including the now-derived calibration information,
    1114 use the <b style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
     1128menu item. To save the project, including the now-derived calibration
     1129information, use the <b style='mso-bidi-font-weight:normal'><span
     1130style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     1131mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;mso-bidi-theme-font:
     1132minor-latin'>File/Save</span> </b><b style='mso-bidi-font-weight:normal'><span
     1133style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     1134mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;mso-bidi-theme-font:
     1135minor-latin'>Project</span></b><span style='font-family:"Calibri","sans-serif";
    11151136mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
    1116 Calibri;mso-bidi-theme-font:minor-latin'>File/Save</span> </b><b
     1137Calibri;mso-bidi-theme-font:minor-latin'> </span>menu item associated with the
     1138data tree window; as this project has not been saved before the file save
     1139dialog will need a file name. Don’t enter the extension; it will be set to “<b
    11171140style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
    11181141mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
    1119 Calibri;mso-bidi-theme-font:minor-latin'>Project</span></b><span
    1120 style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
    1121 mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;mso-bidi-theme-font:
    1122 minor-latin'> </span>menu item associated with the data tree window; as this
    1123 project has not been saved before the file save dialog will need a file name.
    1124 Don’t enter the extension; it will be set to “<b style='mso-bidi-font-weight:
    1125 normal'><span style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:
    1126 minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;
    1127 mso-bidi-theme-font:minor-latin'>.<span class=SpellE>gpx</span></span></b>”.</p>
     1142Calibri;mso-bidi-theme-font:minor-latin'>.<span class=SpellE>gpx</span></span></b>”.</p>
    11281143
    11291144<h2>Next step: <span class=MsoHyperlink><span style='color:#0070C0'><a
  • trunk/help/Integration of area detector data in GSAS.htm

    r895 r1195  
    2525  <o:Author>Von Dreele</o:Author>
    2626  <o:LastAuthor>Von Dreele</o:LastAuthor>
    27   <o:Revision>12</o:Revision>
    28   <o:TotalTime>118</o:TotalTime>
     27  <o:Revision>13</o:Revision>
     28  <o:TotalTime>137</o:TotalTime>
    2929  <o:Created>2012-05-04T20:46:00Z</o:Created>
    30   <o:LastSaved>2013-04-30T17:23:00Z</o:LastSaved>
    31   <o:Pages>3</o:Pages>
    32   <o:Words>808</o:Words>
    33   <o:Characters>4610</o:Characters>
     30  <o:LastSaved>2014-01-13T15:37:00Z</o:LastSaved>
     31  <o:Pages>2</o:Pages>
     32  <o:Words>821</o:Words>
     33  <o:Characters>4685</o:Characters>
    3434  <o:Company>Argonne National Laboratory</o:Company>
    35   <o:Lines>38</o:Lines>
     35  <o:Lines>39</o:Lines>
    3636  <o:Paragraphs>10</o:Paragraphs>
    37   <o:CharactersWithSpaces>5408</o:CharactersWithSpaces>
     37  <o:CharactersWithSpaces>5496</o:CharactersWithSpaces>
    3838  <o:Version>14.00</o:Version>
    3939 </o:DocumentProperties>
     
    10281028box. Note that inner limit is shown as a green ellipse at 2deg and the outer is
    10291029shown as a red ellipse at 5deg by default. These limits may also be dragged to
    1030 the desired values; a small popup window shows the value. <o:p></o:p></p>
     1030the desired values; a small popup window shows the value. </p>
    10311031
    10321032<p class=MsoNormal>Change the limits to <b style='mso-bidi-font-weight:normal'><span
     
    10601060 <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
    10611061 <o:lock v:ext="edit" aspectratio="t"/>
    1062 </v:shapetype><v:shape id="Picture_x0020_6" o:spid="_x0000_i1029" type="#_x0000_t75"
    1063  style='width:472.5pt;height:342pt;visibility:visible;mso-wrap-style:square'>
     1062</v:shapetype><v:shape id="Picture_x0020_6" o:spid="_x0000_i1028" type="#_x0000_t75"
     1063 style='width:472.5pt;height:349.5pt;visibility:visible;mso-wrap-style:square'>
    10641064 <v:imagedata src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image001.png"
    10651065  o:title=""/>
    1066 </v:shape><![endif]--><![if !vml]><img border=0 width=630 height=456
     1066</v:shape><![endif]--><![if !vml]><img border=0 width=630 height=466
    10671067src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image001.png"
    10681068v:shapes="Picture_x0020_6"><![endif]></span></p>
     
    10731073style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
    10741074mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;mso-bidi-theme-font:
    1075 minor-latin'>Azimuth offset</span></b>: The image vertical axis (from the beam
    1076 center, going down) is labeled with the azimuth value placed in the <b
     1075minor-latin'>Azimuth offset</span></b>: The image horizontal axis (from the
     1076beam center, going right) is labeled with the azimuth value placed in the <b
    10771077style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
    10781078mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
     
    10881088minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Calibri;
    10891089mso-bidi-theme-font:minor-latin'>Do full integration?</span></b> <span
    1090 class=GramE>checkbox</span> is not checked, the integration will be run only to
    1091 the maximum value specified. When the range is less than 360 degrees, the
     1090class=GramE>check</span> box is not checked, the integration will be run only
     1091to the maximum value specified. When the range is less than 360 degrees, the
    10921092integration range will be shown (if selected) with the high and low limits
    10931093plotted and only segments of the max and min ellipses drawn. These limits may
    1094 also be dragged on the plot to desired locations.</p>
     1094also be dragged on the plot to desired locations. In this case <b
     1095style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
     1096mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin'>45</span></b>
     1097is a better choice than the default.</p>
    10951098
    10961099<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
     
    11041107needed, but there should more than 6 points across each peak
    11051108full-width-at-half-maximum (FWHM) in the final pattern to be useful for further
    1106 analysis. In this case <b style='mso-bidi-font-weight:normal'><span
     1109analysis. For this reason <b style='mso-bidi-font-weight:normal'><span
    11071110style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
    11081111mso-hansi-theme-font:minor-latin'>5000</span></b> is a better choice than the
     
    11191122with distance from the beam-center, with a shape like a slice of cake or pie.
    11201123When more than one azimuthal bin is used, the regions are shown in the plot
    1121 with dashed lines, when the Show integration limits?&quot; check box is
    1122 checked. </p>
     1124with dashed lines, when the <b style='mso-bidi-font-weight:normal'><span
     1125style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     1126mso-hansi-theme-font:minor-latin'>Show integration limits?</span></b> <span
     1127class=GramE>check</span> box is checked. </p>
     1128
     1129<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
     1130style='font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
     1131mso-hansi-theme-font:minor-latin'>Appl. Sample absorption</span></b> and <b
     1132style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
     1133mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin'>value</span></b>:
     1134An absorption correction for a horizontal cylinder is applied to the results of
     1135the integration. The range in <span class=SpellE><span style='font-family:Symbol'>m</span>R</span>
     1136is limited because the correction is unreliable for <span class=SpellE><span
     1137style='font-family:Symbol'>m</span>R</span> &gt; 2.</p>
    11231138
    11241139<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
     
    11511166
    11521167<p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
    1153  id="Picture_x0020_7" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:525pt;
    1154  height:450pt;visibility:visible;mso-wrap-style:square'>
     1168 id="_x0000_i1027" type="#_x0000_t75" style='width:525pt;height:450pt;
     1169 visibility:visible;mso-wrap-style:square'>
    11551170 <v:imagedata src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image002.png"
    11561171  o:title=""/>
    11571172</v:shape><![endif]--><![if !vml]><img border=0 width=700 height=600
    11581173src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image002.png"
    1159 v:shapes="Picture_x0020_7"><![endif]></span></p>
     1174v:shapes="_x0000_i1027"><![endif]></span></p>
    11601175
    11611176<h2>Step 3: Perform integration </h2>
     
    11801195
    11811196<p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
    1182  id="Picture_x0020_8" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:300pt;
     1197 id="Picture_x0020_8" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:300pt;
    11831198 height:187.5pt;visibility:visible;mso-wrap-style:square'>
    11841199 <v:imagedata src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image003.png"
     
    11891204style='mso-spacerun:yes'> </span></p>
    11901205
    1191 <p class=MsoNormal>Two plots are added to the plot window: One (with tab <b
    1192 style='mso-bidi-font-weight:normal'><span style='font-family:"Calibri","sans-serif";
    1193 mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
    1194 Calibri;mso-bidi-theme-font:minor-latin'>2D Integration</span></b>) shows the
    1195 diffraction intensity as a function of both 2-theta and (when there is more
    1196 than one azimuthal integration region) azimuthal angle.</p>
     1206<p class=MsoNormal>A plot is added to the plot window with a conventional 1-D
     1207powder pattern(s) for each &quot;slice&quot;</p>
    11971208
    11981209<p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
    1199  id="Picture_x0020_9" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:525pt;
     1210 id="Picture_x0020_7" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:525pt;
    12001211 height:450pt;visibility:visible;mso-wrap-style:square'>
    12011212 <v:imagedata src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image004.png"
     
    12031214</v:shape><![endif]--><![if !vml]><img border=0 width=700 height=600
    12041215src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image004.png"
    1205 v:shapes="Picture_x0020_9"><![endif]></span><span
    1206 style='mso-spacerun:yes'> </span></p>
    1207 
    1208 <p class=MsoNormal><span class=GramE>and</span> a conventional 1-D powder
    1209 pattern(s) for each &quot;slice&quot;</p>
    1210 
    1211 <p class=MsoNormal><span style='mso-no-proof:yes'><!--[if gte vml 1]><v:shape
    1212  id="Picture_x0020_10" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:525pt;
    1213  height:450pt;visibility:visible;mso-wrap-style:square'>
    1214  <v:imagedata src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image005.png"
    1215   o:title=""/>
    1216 </v:shape><![endif]--><![if !vml]><img border=0 width=700 height=600
    1217 src="Integration%20of%20area%20detector%20data%20in%20GSAS_files/image005.png"
    1218 v:shapes="Picture_x0020_10"><![endif]></span></p>
     1216v:shapes="Picture_x0020_7"><![endif]></span></p>
    12191217
    12201218<p class=MsoNormal>Again you could save the project with <b style='mso-bidi-font-weight:
  • trunk/help/Integration of area detector data in GSAS_files/filelist.xml

    r895 r1195  
    77 <o:File HRef="image003.png"/>
    88 <o:File HRef="image004.png"/>
    9  <o:File HRef="image005.png"/>
    109 <o:File HRef="filelist.xml"/>
    1110</xml>
Note: See TracChangeset for help on using the changeset viewer.