Changeset 2607


Ignore:
Timestamp:
Jan 1, 2017 5:08:04 PM (5 years ago)
Author:
toby
Message:

redo help to use DataFrame? helpKey; define .dataFrame.helpKey; rename MovePatternTreeToGrid? to SelectDataTreeItem? & OnPatternTreeSelChanged? to OnDataTreeSelChanged? to make more sense; key on initial string in data tree names, not presence of 'IMG' etc anywhere in name; cleanup Prefill of menus

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r2596 r2607  
    659659            self.PatternTree.Expand(psub)
    660660            self.PatternTree.SelectItem(psub) # show the page to complete the initialization (yuk!)
    661             wx.Yield() # make sure call of GSASII.OnPatternTreeSelChanged happens before we go on
     661            wx.Yield() # make sure call of GSASII.OnDataTreeSelChanged happens before we go on
    662662
    663663            if rd.Constraints:
     
    23212321        self.PatternTree = G2G.G2TreeCtrl(id=wxID_PATTERNTREE,
    23222322            parent=self.mainPanel, pos=wx.Point(0, 0),style=wx.TR_DEFAULT_STYLE )
    2323         self.PatternTree.Bind(wx.EVT_TREE_SEL_CHANGED,self.OnPatternTreeSelChanged)
    2324         self.PatternTree.Bind(wx.EVT_TREE_ITEM_RIGHT_CLICK,self.OnPatternTreeSelChanged)
     2323        self.PatternTree.Bind(wx.EVT_TREE_SEL_CHANGED,self.OnDataTreeSelChanged)
     2324        self.PatternTree.Bind(wx.EVT_TREE_ITEM_RIGHT_CLICK,self.OnDataTreeSelChanged)
    23252325        self.PatternTree.Bind(wx.EVT_TREE_ITEM_COLLAPSED,
    23262326            self.OnPatternTreeItemCollapsed, id=wxID_PATTERNTREE)
     
    23392339        plotFrame = wx.Frame(None,-1,'GSASII Plots',size=wx.Size(700,600), \
    23402340            style=wx.DEFAULT_FRAME_STYLE ^ wx.CLOSE_BOX)
    2341         #self.G2plotNB = G2plt.G2PlotNoteBook(plotFrame)
    23422341        self.G2plotNB = G2plt.G2PlotNoteBook(plotFrame,G2frame=self)
    23432342        plotFrame.Show()
     
    24562455        self.PatternTree.SetSize(wx.Size(w,h))
    24572456                       
    2458     def OnPatternTreeSelChanged(self, event):
     2457    def OnDataTreeSelChanged(self, event):
    24592458        '''Called when a data tree item is selected'''
    24602459        if self.TreeItemDelete:
     
    24652464                self.G2plotNB.nb.GetPage(pltNum)
    24662465            item = event.GetItem()
    2467             G2gd.MovePatternTreeToGrid(self,item)
     2466            G2gd.SelectDataTreeItem(self,item)
    24682467            if self.oldFocus:
    24692468                self.oldFocus.SetFocus()
     
    24752474    def OnPatternTreeItemExpanded(self, event):
    24762475        'Called when a tree item is expanded'
    2477         self.OnPatternTreeSelChanged(event)
     2476        self.OnDataTreeSelChanged(event)
    24782477        event.Skip()
    24792478       
     
    25162515                self.PatternTree.SetItemPyData(Id,item)
    25172516            self.PatternTree.Delete(self.BeginDragId)
    2518             G2gd.MovePatternTreeToGrid(self,NewId)
     2517            G2gd.SelectDataTreeItem(self,NewId)
    25192518       
    25202519    def OnPatternTreeKeyDown(self,event): #doesn't exactly work right with Shift key down
     
    30133012        E,SGData = G2spc.SpcGroup('P 1')
    30143013        self.PatternTree.SetItemPyData(sub,G2IO.SetNewPhase(Name=PhaseName,SGData=SGData))
    3015         G2gd.MovePatternTreeToGrid(self,sub) #bring up new phase General tab
     3014        G2gd.SelectDataTreeItem(self,sub) #bring up new phase General tab
    30163015       
    30173016    def OnDeletePhase(self,event):
     
    32383237                    self.EnableSeqRefineMenu()
    32393238            item, cookie = self.PatternTree.GetNextChild(self.root, cookie)
     3239        if phaseId: # show all phases
     3240            self.PatternTree.Expand(phaseId)
    32403241        if Id:
    32413242            self.EnablePlot = True
     
    32443245        elif phaseId:
    32453246            self.PatternTree.SelectItem(phaseId)
    3246         if phaseId:
    3247             self.PatternTree.Expand(phaseId)
    32483247        self.CheckNotebook()
    32493248        if self.dirname: os.chdir(self.dirname)           # to get Mac/Linux to change directory!
     
    39023901            self.PickId = Id
    39033902            self.PatternTree.SelectItem(Id)
    3904             #G2gd.MovePatternTreeToGrid(self,Id) # fails on Mac -- SelectItem already calls MovePatternTreeToGrid; double call fails to complete properly
    39053903        # update other self-updating plots
    39063904        for lbl,frame in zip(self.G2plotNB.plotList,self.G2plotNB.panelList):
     
    39693967                    Id = G2gd.GetPatternTreeItemId(self,self.root,'Sequential results')
    39703968                    self.PatternTree.SelectItem(Id)
    3971                     #G2gd.MovePatternTreeToGrid(self,Id) # fails on Mac -- SelectItem already calls MovePatternTreeToGrid; double call fails to complete properly
    39723969            finally:
    39733970                dlg.Destroy()
  • trunk/GSASIIctrls.py

    r2577 r2607  
    30743074
    30753075    '''
    3076     def __init__(self,frame,helpType=None,helpLbl=None,includeTree=False,morehelpitems=[]):
     3076    def __init__(self,frame,includeTree=False,morehelpitems=[]):
    30773077        wx.Menu.__init__(self,'')
    30783078        self.HelpById = {}
     
    30963096            self.HelpById[helpobj.GetId()] = indx
    30973097        # add help lookup(s) in gsasii.html
    3098         if helpType is not None or includeTree:
    3099             self.AppendSeparator()
     3098        self.AppendSeparator()
    31003099        if includeTree:
    3101             if helpLbl is None: helpLbl = helpType
    31023100            helpobj = self.Append(text='Help on Data tree',
    31033101                                  id=wx.ID_ANY, kind=wx.ITEM_NORMAL)
    31043102            frame.Bind(wx.EVT_MENU, self.OnHelpById, id=helpobj.GetId())
    31053103            self.HelpById[helpobj.GetId()] = 'Data tree'
    3106         if helpType is not None:
    3107             if helpLbl is None: helpLbl = helpType
    3108             helpobj = self.Append(text='Help on '+helpLbl,
    3109                                   id=wx.ID_ANY, kind=wx.ITEM_NORMAL)
    3110             frame.Bind(wx.EVT_MENU, self.OnHelpById, id=helpobj.GetId())
    3111             self.HelpById[helpobj.GetId()] = helpType
     3104        helpobj = self.Append(text='Help on current data tree item',id=wx.ID_ANY, kind=wx.ITEM_NORMAL)
     3105        frame.Bind(wx.EVT_MENU, self.OnHelpById, id=helpobj.GetId())
    31123106       
    31133107    def OnHelpById(self,event):
    3114         '''Called when Help on... is pressed in a menu. Brings up
    3115         a web page for documentation.
    3116         '''
    3117         helpType = self.HelpById.get(event.GetId())
    3118         if helpType is None:
    3119             print 'Error: help lookup failed!',event.GetEventObject()
    3120             print 'id=',event.GetId()
    3121         elif helpType == 'Tutorials':
     3108        '''Called when Help on... is pressed in a menu. Brings up a web page
     3109        for documentation. Uses the helpKey value from the dataFrame window
     3110        unless a special help key value has been defined for this menu id in
     3111        self.HelpById
     3112        '''
     3113        try:
     3114            helpKey = self.frame.helpKey # BHT: look up help from helpKey in data window
     3115            #if GSASIIpath.GetConfigValue('debug'): print 'dataFrame help: key=',helpKey
     3116        except AttributeError:
     3117            helpKey = ''
     3118            if GSASIIpath.GetConfigValue('debug'):
     3119                print('No helpKey for current dataFrame!')
     3120        helpType = self.HelpById.get(event.GetId(),helpKey)
     3121        if helpType == 'Tutorials':
    31223122            dlg = OpenTutorial(self.frame)
    31233123            dlg.ShowModal()
     
    38323832    '''Called to bring up a web page for documentation.'''
    38333833    global htmlFirstUse,htmlPanel,htmlFrame
    3834     # look up a definition for help info from dict
    3835     #helplink = helpLocDict.get(helpType)
    3836     #if helplink is None:
    3837     if True:
    3838         # no defined link to use, create a default based on key
    3839         helplink = 'gsasII.html#'+helpType.replace(' ','_')
     3834    # no defined link to use, create a default based on key
     3835    helplink = 'gsasII.html'
     3836    if helpType:
     3837        helplink += '#'+helpType.replace(')','').replace('(','_').replace(' ','_')
    38403838    # determine if a web browser or the internal viewer should be used for help info
    38413839    if GSASIIpath.GetConfigValue('Help_mode'):
  • trunk/GSASIIgrid.py

    r2602 r2607  
    15851585            wx.Frame.Bind(self,eventtype,handler,*args,**kwargs)     
    15861586       
    1587     def PrefillDataMenu(self,menu,helpType,helpLbl=None,empty=False):
     1587    def PrefillDataMenu(self,menu,empty=False):
    15881588        '''Create the "standard" part of data frame menus. Note that on Linux and
    15891589        Windows nothing happens here. On Mac, this menu duplicates the
     
    15921592        self.datamenu = menu
    15931593        self.G2frame.dataMenuBars.append(menu)
    1594         self.helpType = helpType
    1595         self.helpLbl = helpLbl
    15961594        if sys.platform == "darwin": # mac                         
    15971595            self.G2frame.FillMainMenu(menu,addhelp=False) # add the data tree menu items
     
    16071605        '''
    16081606        menu = self.datamenu
    1609         helpType = self.helpType
    1610         helpLbl = self.helpLbl
    16111607        if sys.platform == "darwin": # mac
    16121608            if not empty:
    16131609                menu.Append(wx.Menu(title=''),title='|') # add another separator
    1614             HelpMenu=G2G.MyHelp(self,helpType=helpType,includeTree=True,
     1610            HelpMenu=G2G.MyHelp(self,includeTree=True,
    16151611                morehelpitems=[('&Tutorials','Tutorials'),])
    16161612            menu.Append(menu=HelpMenu,title='&Help')
    16171613        else: # other
    1618             menu.Append(menu=G2G.MyHelp(self,helpType=helpType, helpLbl=helpLbl),
    1619                         title='&Help')
     1614            menu.Append(menu=G2G.MyHelp(self),title='&Help')
    16201615
    16211616    def _init_menus(self):
     
    16271622        # Controls
    16281623        self.ControlsMenu = wx.MenuBar()
    1629         self.PrefillDataMenu(self.ControlsMenu,helpType='Controls',empty=True)
     1624        self.PrefillDataMenu(self.ControlsMenu,empty=True)
    16301625        self.PostfillDataMenu(empty=True)
    16311626       
    16321627        # Notebook
    16331628        self.DataNotebookMenu = wx.MenuBar()
    1634         self.PrefillDataMenu(self.DataNotebookMenu,helpType='Notebook',empty=True)
     1629        self.PrefillDataMenu(self.DataNotebookMenu,empty=True)
    16351630        self.PostfillDataMenu(empty=True)
    16361631       
    16371632        # Comments
    16381633        self.DataCommentsMenu = wx.MenuBar()
    1639         self.PrefillDataMenu(self.DataCommentsMenu,helpType='Comments',empty=True)
     1634        self.PrefillDataMenu(self.DataCommentsMenu,empty=True)
    16401635        self.PostfillDataMenu(empty=True)
    16411636       
    16421637        # Constraints
    16431638        self.ConstraintMenu = wx.MenuBar()
    1644         self.PrefillDataMenu(self.ConstraintMenu,helpType='Constraints')
     1639        self.PrefillDataMenu(self.ConstraintMenu)
    16451640        self.ConstraintTab = wx.Menu(title='')
    16461641        self.ConstraintMenu.Append(menu=self.ConstraintTab, title='Select tab')
     
    16811676        # Rigid bodies
    16821677        self.RigidBodyMenu = wx.MenuBar()
    1683         self.PrefillDataMenu(self.RigidBodyMenu,helpType='Rigid bodies')
     1678        self.PrefillDataMenu(self.RigidBodyMenu)
    16841679        self.ResidueRBMenu = wx.Menu(title='')
    16851680        self.ResidueRBMenu.Append(id=wxID_RIGIDBODYIMPORT, kind=wx.ITEM_NORMAL,text='Import XYZ',
     
    16931688
    16941689        self.VectorBodyMenu = wx.MenuBar()
    1695         self.PrefillDataMenu(self.VectorBodyMenu,helpType='Vector rigid bodies')
     1690        self.PrefillDataMenu(self.VectorBodyMenu)
    16961691        self.VectorRBEdit = wx.Menu(title='')
    16971692        self.VectorRBEdit.Append(id=wxID_VECTORBODYADD, kind=wx.ITEM_NORMAL,text='Add rigid body',
     
    17231718
    17241719        self.RestraintMenu = wx.MenuBar()
    1725         self.PrefillDataMenu(self.RestraintMenu,helpType='Restraints')
     1720        self.PrefillDataMenu(self.RestraintMenu)
    17261721        self.RestraintMenu.Append(menu=self.RestraintTab, title='Select tab')
    17271722        self.RestraintMenu.Append(menu=self.RestraintEdit, title='Edit Restr.')
     
    17301725        # Sequential results
    17311726        self.SequentialMenu = wx.MenuBar()
    1732         self.PrefillDataMenu(self.SequentialMenu,helpType='Sequential',helpLbl='Sequential Refinement')
     1727        self.PrefillDataMenu(self.SequentialMenu)
    17331728        self.SequentialFile = wx.Menu(title='')
    17341729        self.SequentialMenu.Append(menu=self.SequentialFile, title='Columns')
     
    18131808        # PWDR & SASD
    18141809        self.PWDRMenu = wx.MenuBar()
    1815         self.PrefillDataMenu(self.PWDRMenu,helpType='PWDR Analysis',helpLbl='Powder Fit Error Analysis')
     1810        self.PrefillDataMenu(self.PWDRMenu)
    18161811        self.ErrorAnal = wx.Menu(title='')
    18171812        self.PWDRMenu.Append(menu=self.ErrorAnal,title='Commands')
     
    18321827        # HKLF
    18331828        self.HKLFMenu = wx.MenuBar()
    1834         self.PrefillDataMenu(self.HKLFMenu,helpType='HKLF Analysis',helpLbl='HKLF Fit Error Analysis')
     1829        self.PrefillDataMenu(self.HKLFMenu)
    18351830        self.ErrorAnal = wx.Menu(title='')
    18361831        self.HKLFMenu.Append(menu=self.ErrorAnal,title='Commands')
     
    18491844        # PWDR / Limits
    18501845        self.LimitMenu = wx.MenuBar()
    1851         self.PrefillDataMenu(self.LimitMenu,helpType='Limits')
     1846        self.PrefillDataMenu(self.LimitMenu)
    18521847        self.LimitEdit = wx.Menu(title='')
    18531848        self.LimitMenu.Append(menu=self.LimitEdit, title='Edit Limits')
     
    18601855        # PDR / Background
    18611856        self.BackMenu = wx.MenuBar()
    1862         self.PrefillDataMenu(self.BackMenu,helpType='Background')
     1857        self.PrefillDataMenu(self.BackMenu)
    18631858        self.BackEdit = wx.Menu(title='')
    18641859        self.BackMenu.Append(menu=self.BackEdit, title='File')
     
    18941889        # PDR / Instrument Parameters
    18951890        self.InstMenu = wx.MenuBar()
    1896         self.PrefillDataMenu(self.InstMenu,helpType='Instrument Parameters')
     1891        self.PrefillDataMenu(self.InstMenu)
    18971892        self.InstEdit = wx.Menu(title='')
    18981893        self.InstMenu.Append(menu=self.InstEdit, title='Operations')
     
    19201915        # PDR / Sample Parameters
    19211916        self.SampleMenu = wx.MenuBar()
    1922         self.PrefillDataMenu(self.SampleMenu,helpType='Sample Parameters')
     1917        self.PrefillDataMenu(self.SampleMenu)
    19231918        self.SampleEdit = wx.Menu(title='')
    19241919        self.SampleMenu.Append(menu=self.SampleEdit, title='Command')
     
    19451940        # PDR / Peak List
    19461941        self.PeakMenu = wx.MenuBar()
    1947         self.PrefillDataMenu(self.PeakMenu,helpType='Peak List')
     1942        self.PrefillDataMenu(self.PeakMenu)
    19481943        self.PeakEdit = wx.Menu(title='')
    19491944        self.PeakMenu.Append(menu=self.PeakEdit, title='Peak Fitting')
     
    19821977        # PDR / Index Peak List
    19831978        self.IndPeaksMenu = wx.MenuBar()
    1984         self.PrefillDataMenu(self.IndPeaksMenu,helpType='Index Peak List')
     1979        self.PrefillDataMenu(self.IndPeaksMenu)
    19851980        self.IndPeaksEdit = wx.Menu(title='')
    19861981        self.IndPeaksMenu.Append(menu=self.IndPeaksEdit,title='Operations')
     
    19911986        # PDR / Unit Cells List
    19921987        self.IndexMenu = wx.MenuBar()
    1993         self.PrefillDataMenu(self.IndexMenu,helpType='Unit Cells List')
     1988        self.PrefillDataMenu(self.IndexMenu)
    19941989        self.IndexEdit = wx.Menu(title='')
    19951990        self.IndexMenu.Append(menu=self.IndexEdit, title='Cell Index/Refine')
     
    20122007        # PDR / Reflection Lists
    20132008        self.ReflMenu = wx.MenuBar()
    2014         self.PrefillDataMenu(self.ReflMenu,helpType='Reflection List')
     2009        self.PrefillDataMenu(self.ReflMenu)
    20152010        self.ReflEdit = wx.Menu(title='')
    20162011        self.ReflMenu.Append(menu=self.ReflEdit, title='Reflection List')
     
    20252020        # SASD / Instrument Parameters
    20262021        self.SASDInstMenu = wx.MenuBar()
    2027         self.PrefillDataMenu(self.SASDInstMenu,helpType='Instrument Parameters')
     2022        self.PrefillDataMenu(self.SASDInstMenu)
    20282023        self.SASDInstEdit = wx.Menu(title='')
    20292024        self.SASDInstMenu.Append(menu=self.SASDInstEdit, title='Operations')
     
    20362031        #SASD & REFL/ Substance editor
    20372032        self.SubstanceMenu = wx.MenuBar()
    2038         self.PrefillDataMenu(self.SubstanceMenu,helpType='Substances')
     2033        self.PrefillDataMenu(self.SubstanceMenu)
    20392034        self.SubstanceEdit = wx.Menu(title='')
    20402035        self.SubstanceMenu.Append(menu=self.SubstanceEdit, title='Edit substance')
     
    20552050        # SASD/ Models
    20562051        self.ModelMenu = wx.MenuBar()
    2057         self.PrefillDataMenu(self.ModelMenu,helpType='Models')
     2052        self.PrefillDataMenu(self.ModelMenu)
    20582053        self.ModelEdit = wx.Menu(title='')
    20592054        self.ModelMenu.Append(menu=self.ModelEdit, title='Models')
     
    20752070        # IMG / Image Controls
    20762071        self.ImageMenu = wx.MenuBar()
    2077         self.PrefillDataMenu(self.ImageMenu,helpType='Image Controls')
     2072        self.PrefillDataMenu(self.ImageMenu)
    20782073        self.ImageEdit = wx.Menu(title='')
    20792074        self.ImageMenu.Append(menu=self.ImageEdit, title='Operations')
     
    21082103        # IMG / Masks
    21092104        self.MaskMenu = wx.MenuBar()
    2110         self.PrefillDataMenu(self.MaskMenu,helpType='Image Masks')
     2105        self.PrefillDataMenu(self.MaskMenu)
    21112106        self.MaskEdit = wx.Menu(title='')
    21122107        self.MaskMenu.Append(menu=self.MaskEdit, title='Operations')
     
    21422137        # IMG / Stress/Strain
    21432138        self.StrStaMenu = wx.MenuBar()
    2144         self.PrefillDataMenu(self.StrStaMenu,helpType='Stress/Strain')
     2139        self.PrefillDataMenu(self.StrStaMenu)
    21452140        self.StrStaEdit = wx.Menu(title='')
    21462141        self.StrStaMenu.Append(menu=self.StrStaEdit, title='Operations')
     
    21672162        # PDF / PDF Controls
    21682163        self.PDFMenu = wx.MenuBar()
    2169         self.PrefillDataMenu(self.PDFMenu,helpType='PDF Controls')
     2164        self.PrefillDataMenu(self.PDFMenu)
    21702165        self.PDFEdit = wx.Menu(title='')
    21712166        self.PDFMenu.Append(menu=self.PDFEdit, title='PDF Controls')
     
    21882183        # Phase / General tab
    21892184        self.DataGeneral = wx.MenuBar()
    2190         self.PrefillDataMenu(self.DataGeneral,helpType='General', helpLbl='Phase/General')
     2185        self.PrefillDataMenu(self.DataGeneral)
    21912186        self.DataGeneral.Append(menu=wx.Menu(title=''),title='Select tab')
    21922187        self.GeneralCalc = wx.Menu(title='')
     
    22132208        # Phase / Data tab
    22142209        self.DataMenu = wx.MenuBar()
    2215         self.PrefillDataMenu(self.DataMenu,helpType='Data', helpLbl='Phase/Data')
     2210        self.PrefillDataMenu(self.DataMenu)
    22162211        self.DataMenu.Append(menu=wx.Menu(title=''),title='Select tab')
    22172212        self.DataEdit = wx.Menu(title='')
     
    22352230        # Phase / Atoms tab
    22362231        self.AtomsMenu = wx.MenuBar()
    2237         self.PrefillDataMenu(self.AtomsMenu,helpType='Atoms')
     2232        self.PrefillDataMenu(self.AtomsMenu)
    22382233        self.AtomsMenu.Append(menu=wx.Menu(title=''),title='Select tab')
    22392234        self.AtomEdit = wx.Menu(title='')
     
    23112306        # Phase / Imcommensurate "waves" tab
    23122307        self.WavesData = wx.MenuBar()
    2313         self.PrefillDataMenu(self.WavesData,helpType='Wave Data', helpLbl='Imcommensurate wave data')
     2308        self.PrefillDataMenu(self.WavesData)
    23142309        self.WavesData.Append(menu=wx.Menu(title=''),title='Select tab')
    23152310        self.WavesDataEdit = wx.Menu(title='')
     
    23212316        # Phase / Layer tab
    23222317        self.LayerData = wx.MenuBar()
    2323         self.PrefillDataMenu(self.LayerData,helpType='Layer Data', helpLbl='Stacking fault layers')
     2318        self.PrefillDataMenu(self.LayerData)
    23242319        self.LayerData.Append(menu=wx.Menu(title=''),title='Select tab')
    23252320        self.LayerDataEdit = wx.Menu(title='')
     
    23372332        # Phase / Draw Options tab
    23382333        self.DataDrawOptions = wx.MenuBar()
    2339         self.PrefillDataMenu(self.DataDrawOptions,helpType='Draw Options', helpLbl='Phase/Draw Options')
     2334        self.PrefillDataMenu(self.DataDrawOptions)
    23402335        self.DataDrawOptions.Append(menu=wx.Menu(title=''),title='Select tab')
    23412336        self.PostfillDataMenu()
     
    23432338        # Phase / Draw Atoms tab
    23442339        self.DrawAtomsMenu = wx.MenuBar()
    2345         self.PrefillDataMenu(self.DrawAtomsMenu,helpType='Draw Atoms')
     2340        self.PrefillDataMenu(self.DrawAtomsMenu)
    23462341        self.DrawAtomsMenu.Append(menu=wx.Menu(title=''),title='Select tab')
    23472342        self.DrawAtomEdit = wx.Menu(title='')
     
    23972392        # Phase / MCSA tab
    23982393        self.MCSAMenu = wx.MenuBar()
    2399         self.PrefillDataMenu(self.MCSAMenu,helpType='MC/SA')
     2394        self.PrefillDataMenu(self.MCSAMenu)
    24002395        self.MCSAMenu.Append(menu=wx.Menu(title=''),title='Select tab')
    24012396        self.MCSAEdit = wx.Menu(title='')
     
    24152410        # Phase / Texture tab
    24162411        self.TextureMenu = wx.MenuBar()
    2417         self.PrefillDataMenu(self.TextureMenu,helpType='Texture')
     2412        self.PrefillDataMenu(self.TextureMenu)
    24182413        self.TextureMenu.Append(menu=wx.Menu(title=''),title='Select tab')
    24192414        self.TextureEdit = wx.Menu(title='')
     
    24272422        # Phase / Pawley tab
    24282423        self.PawleyMenu = wx.MenuBar()
    2429         self.PrefillDataMenu(self.PawleyMenu,helpType='Pawley')
     2424        self.PrefillDataMenu(self.PawleyMenu)
    24302425        self.PawleyMenu.Append(menu=wx.Menu(title=''),title='Select tab')
    24312426        self.PawleyEdit = wx.Menu(title='')
     
    24492444        # Phase / Map peaks tab
    24502445        self.MapPeaksMenu = wx.MenuBar()
    2451         self.PrefillDataMenu(self.MapPeaksMenu,helpType='Map peaks')
     2446        self.PrefillDataMenu(self.MapPeaksMenu)
    24522447        self.MapPeaksMenu.Append(menu=wx.Menu(title=''),title='Select tab')
    24532448        self.MapPeaksEdit = wx.Menu(title='')
     
    24752470        # Phase / Rigid bodies tab
    24762471        self.RigidBodiesMenu = wx.MenuBar()
    2477         self.PrefillDataMenu(self.RigidBodiesMenu,helpType='Rigid bodies')
     2472        self.PrefillDataMenu(self.RigidBodiesMenu)
    24782473        self.RigidBodiesMenu.Append(menu=wx.Menu(title=''),title='Select tab')
    24792474        self.RigidBodiesEdit = wx.Menu(title='')
     
    43714366    return 0               
    43724367
    4373 def MovePatternTreeToGrid(G2frame,item):
    4374     '''Called from :meth:`GSASII.GSASII.OnPatternTreeSelChanged` when a item is selected on the tree.
     4368def SelectDataTreeItem(G2frame,item):
     4369    '''Called from :meth:`GSASII.GSASII.OnDataTreeSelChanged` when a item is selected on the tree.
    43754370    Also called from GSASII.OnPatternTreeEndDrag, OnAddPhase -- might be better to select item, triggering
    4376     the the bind to MovePatternTreeToGrid
     4371    the the bind to SelectDataTreeItem
    43774372
    43784373    Also Called in GSASIIphsGUI.UpdatePhaseData by OnTransform callback.
     
    44174412    #for i in G2frame.ExportPattern: i.Enable(False)
    44184413    defWid = [250,150]
    4419     if item != G2frame.root:
     4414    if item == G2frame.root:
     4415        G2frame.dataFrame.helpKey = "Data tree"
     4416        G2frame.dataFrame.setSizePosLeft(defWid)
     4417        wx.TextCtrl(parent=G2frame.dataFrame,size=G2frame.dataFrame.GetClientSize(),
     4418                    value='Select an item from the tree to see/edit parameters')       
     4419        return
     4420    else:
    44204421        parentID = G2frame.PatternTree.GetItemParent(item)
     4422        # save name of calling tree item for help. N.B. may want to override this later
     4423        prfx = G2frame.PatternTree.GetItemText(item).split()[0]
     4424        prfx1 = G2frame.PatternTree.GetItemText(parentID).split()[0]
     4425        if prfx in ('IMG','PKS','PWDR','SASD','HKLF','PDF',):
     4426            G2frame.dataFrame.helpKey = prfx
     4427        elif prfx1 in ('IMG','PKS','PWDR','SASD','HKLF','PDF',):
     4428            suffix = G2frame.PatternTree.GetItemText(item)
     4429            suffix1 = suffix.split()[0]
     4430            if '(Q)' in suffix1 or '(R)' in suffix1: suffix = suffix1
     4431            G2frame.dataFrame.helpKey = prfx1 + '_' + suffix
     4432        else:
     4433            G2frame.dataFrame.helpKey = G2frame.PatternTree.GetItemText(item) # save name of calling tree item for help
    44214434    if G2frame.PatternTree.GetItemParent(item) == G2frame.root:
    44224435        G2frame.PatternId = item
     
    44374450            G2frame.EnableSeqRefineMenu()
    44384451            UpdateControls(G2frame,data)
    4439         elif 'Sequential' in G2frame.PatternTree.GetItemText(item):
     4452        elif G2frame.PatternTree.GetItemText(item).startswith('Sequential '):
     4453            G2frame.dataFrame.helpKey = 'Sequential'  # for now all sequential refinements are documented in one place
    44404454            data = G2frame.PatternTree.GetItemPyData(item)
    44414455            UpdateSeqResults(G2frame,data)
     
    44684482            G2frame.dataFrame.setSizePosLeft(defWid)
    44694483            G2restG.UpdateRestraints(G2frame,data,Phases,phaseName)
    4470         elif 'IMG' in G2frame.PatternTree.GetItemText(item):
     4484        elif G2frame.PatternTree.GetItemText(item).startswith('IMG '):
    44714485            G2frame.Image = item
    44724486            G2frame.dataFrame.SetTitle('Image Data')
     
    44754489            G2imG.UpdateImageData(G2frame,data)
    44764490            G2plt.PlotImage(G2frame,newPlot=True)
    4477         elif 'PKS' in G2frame.PatternTree.GetItemText(item):
     4491        elif G2frame.PatternTree.GetItemText(item).startswith('PKS '):
    44784492            G2plt.PlotPowderLines(G2frame)
    4479         elif 'PWDR' in G2frame.PatternTree.GetItemText(item):
     4493        elif G2frame.PatternTree.GetItemText(item).startswith('PWDR '):
    44804494            #for i in G2frame.ExportPattern: i.Enable(True)
    44814495            if G2frame.EnablePlot:
    44824496                UpdatePWHKPlot(G2frame,'PWDR',item)
    4483         elif 'SASD' in G2frame.PatternTree.GetItemText(item):
     4497        elif G2frame.PatternTree.GetItemText(item).startswith('SASD '):
    44844498            #for i in G2frame.ExportPattern: i.Enable(True)
    44854499            if G2frame.EnablePlot:
    44864500                UpdatePWHKPlot(G2frame,'SASD',item)
    4487         elif 'HKLF' in G2frame.PatternTree.GetItemText(item):
     4501        elif G2frame.PatternTree.GetItemText(item).startswith('HKLF '):
    44884502            G2frame.Sngl = True
    44894503            UpdatePWHKPlot(G2frame,'HKLF',item)
    4490         elif 'PDF' in G2frame.PatternTree.GetItemText(item):
     4504        elif G2frame.PatternTree.GetItemText(item).startswith('PDF '):
    44914505            G2frame.PatternId = item
    44924506            for i in G2frame.ExportPDF: i.Enable(True)
     
    45534567        G2imG.UpdateStressStrain(G2frame,strsta)
    45544568    elif G2frame.PatternTree.GetItemText(item) == 'PDF Controls':
     4569        G2frame.dataFrame.helpKey = G2frame.PatternTree.GetItemText(item) # special treatment, not PDF_PDF Controls
    45554570        G2frame.PatternId = G2frame.PatternTree.GetItemParent(item)
    45564571        for i in G2frame.ExportPDF: i.Enable(True)
  • trunk/GSASIIpath.py

    r2566 r2607  
    475475
    476476    frame = inspect.currentframe().f_back
    477     msg   = 'Entering IPython console inside {0.f_code.co_filename} at line {0.f_lineno}'.format(frame)
     477    msg   = 'Entering IPython console inside {0.f_code.co_filename} at line {0.f_lineno}\n'.format(frame)
    478478    ipshell(msg,stack_depth=2) # Go up one level, to see the calling routine
    479479    sys.excepthook = savehook # reset IPython's change to the exception hook
  • trunk/GSASIIphsGUI.py

    r2601 r2607  
    149149    '''Create the data display window contents when a phase is clicked on
    150150    in the main (data tree) window.
    151     Called only from :meth:`GSASIIgrid.MovePatternTreeToGrid`,
    152     which in turn is called from :meth:`GSASII.GSASII.OnPatternTreeSelChanged`
    153     when a tree item is selected.
     151    Called only from :meth:`GSASIIgrid.SelectDataTreeItem`,
     152    which in turn is called from :meth:`GSASII.GSASII.OnDataTreeSelChanged`
     153    when a Phase tree item is selected.
    154154
    155155    :param wx.frame G2frame: the main GSAS-II frame object
     
    163163
    164164    '''
    165    
    166165    def GetReflData(G2frame,phaseName,reflNames):
    167166        ReflData = {'RefList':[],'Type':''}
     
    186185        return ReflData
    187186
    188     # UpdatePhaseData execution continues below
    189    
    190187    def SetupGeneral():
    191188        generalData = data['General']
     
    13021299            return mcsaSizer
    13031300
    1304         # UpdateGeneral execution continues here
     1301        # UpdateGeneral execution starts here
    13051302        if General.GetSizer():
    13061303            General.GetSizer().Clear(True)
     
    78587855    def FillSelectPageMenu(TabSelectionIdDict, menuBar):
    78597856        '''Fill "Select tab" menu with menu items for each tab and assign
    7860         bindings to the menu ietm to switch between phase tabs
     7857        bindings to the menu item to switch between phase tabs
    78617858        '''
    78627859        def OnSelectPage(event):
     
    78967893        text = G2frame.dataDisplay.GetPageText(page)
    78977894        G2frame.dataDisplayPhaseText = text
     7895        G2frame.dataFrame.helpKey = text # BHT: use name of Phase tab for help lookup
    78987896        if text == 'General':
    78997897            G2gd.SetDataMenuBar(G2frame,G2frame.dataFrame.DataGeneral)
     
    80798077    if 'modulated' in data['General']['Type']:
    80808078        data['General']['Modulated'] = True
    8081         data['General']['Type'] = 'nuclear'
    8082        
     8079        data['General']['Type'] = 'nuclear'     
    80838080#end patch   
    80848081
  • trunk/GSASIIplot.py

    r2604 r2607  
    251251        self.lastRaisedPlotTab = label
    252252        self.RaisePageNoRefresh(Page)
     253        # save in Tabbed page the help name for the DataItem that has created the plot
     254        Page.helpKey = self.G2frame.dataFrame.helpKey
    253255        return new,plotNum,Page,Plot,limits
    254256   
     
    443445    def OnHelp(self,event):
    444446        'Respond to press of help button on plot toolbar'
    445         Page = self.GetParent().GetParent()
    446         pageNo = Page.GetSelection()
    447         bookmark = Page.GetPageText(pageNo)
    448         bookmark = bookmark.strip(')').replace('(','_')
     447        bookmark = self.Parent.helpKey  # get help category used to create plot
     448        #if GSASIIpath.GetConfigValue('debug'): print 'plot help: key=',bookmark
    449449        G2G.ShowHelp(bookmark,self.TopLevelParent)
     450       
    450451    def OnKey(self,event):
    451452        '''Provide user with list of keystrokes defined for plot as well as an
  • trunk/help/gsasII.html

    r2606 r2607  
    31683168that can be selected, cut &amp; pasted into a document. <o:p></o:p></span></p>
    31693169
    3170 <h3><a name=Mac><strong>Macintosh
     3170<h3><a name="Mac"><strong>Macintosh
    31713171notes</strong></a><strong>:<o:p></o:p></strong></h3>
    31723172
     
    31873187right mouse button. The left button click is generated otherwise. 
    31883188
    3189 <h3><a name=Preferences><strong>Configuration Variables</strong></a><strong>:<o:p></o:p></strong></h3>
     3189<h3><a name="Preferences"><strong>Configuration Variables</strong></a><strong>:<o:p></o:p></strong></h3>
    31903190
    31913191<p class=MsoNormal><span style='mso-fareast-font-family:"Times New
     
    32003200appropriate section of the Programmer's documentation</a>.
    32013201
    3202 <h3><a name=Programmers><strong>Programmers documentation</strong></a></h3>
     3202<h3><a name="Programmers"><strong>Programmers documentation</strong></a></h3>
    32033203
    32043204<p class=MsoNormal><span style='mso-fareast-font-family:"Times New Roman"'>The
     
    32123212<p class=MsoNormal><span style='mso-fareast-font-family:"Times New Roman"'><o:p>&nbsp;</o:p></span></p>
    32133213
    3214 <h2><a name=Tutorials><strong>GSAS-II tutorials</strong></a><strong>:<o:p></o:p></strong></h2>
     3214<h2><a name="Tutorials"><strong>GSAS-II tutorials</strong></a><strong>:<o:p></o:p></strong></h2>
    32153215
    32163216<p class=MsoNormal><span style='mso-fareast-font-family:"Times New Roman"'>The
     
    34823482selected. For example, clicking on the &quot;Notebook&quot; entry of the tree
    34833483brings up the Notebook editing window, as described below in the
    3484 <a name="#Data_tree">data tree</a> sections.
     3484<a href="#Data_tree">data tree</a> sections.
    34853485
    34863486<o:p></o:p></span></p>
     
    34883488<hr size=2 width="100%" align=center>
    34893489<hr size=2 width="100%" align=center>
    3490 <h2><span><a name=Plots><span
    3491 style='mso-fareast-font-family:"Times New Roman"'>3. GSAS-II Plots Window</span></a></span><span
    3492 style='mso-bookmark:Plots'></span><span><span
    3493 style='mso-fareast-font-family:"Times New Roman";font-weight:normal'> </span></span><span
    3494 style='mso-bookmark:Pawley'><span class=MsoHyperlink><span style='mso-fareast-font-family:
    3495 "Times New Roman";color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></h2>
     3490<h2><a name="Plots">
     34913. GSAS-II Plots Window</a></h2>
    34963492
    34973493<p class=MsoNormal style='margin-left:.5in'><span><span
     
    36423638  </DL>
    36433639
    3644   <LI>Menu <B>Calculate</B>
     3640  <LI>Menu <B><A name="Calculate_menu">Calculate</A></B>
    36453641  <DL style='margin-left:.2in'>
    36463642    <DT><b>Make new PDFs</b>
     
    38683864<h2><a name="Data_tree_items">5. GSAS-II data tree items</a></h2>
    38693865
    3870 <h4 style='margin-left:0.25in'><a name=Notebook>Notebook</a></h4>
     3866<h4 style='margin-left:0.25in'><a name="Notebook">Notebook</a></h4>
    38713867
    38723868<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
     
    38863882GSAS-II. </P>
    38873883
    3888 <h4 style='margin-left:0.25in'><a name=Controls><span style='mso-fareast-font-family:
     3884<h4 style='margin-left:0.25in'><a name="Controls"><span style='mso-fareast-font-family:
    38893885"Times New Roman"'>Controls</span></a><span style='mso-fareast-font-family:
    38903886"Times New Roman"'><o:p></o:p></span></h4>
     
    39663962name="Covariance">Covariance<a></h4>
    39673963
    3968 <p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
    3969 "Times New Roman"'>This window contains final residual information; the GSASII
    3970 Plots window ‘Covariance’</a> shows a graphical
     3964<p class=MsoNormal style='margin-left:.5in'>
     3965This window contains final residual information; the GSASII
     3966Plots window ‘Covariance’ shows a graphical
    39713967representation of the variance-covariance matrix. A text window is
    39723968displayed with statistical values and goodness of fit parameters.
    3973 </span></p>
    3974 
    3975 <h5 style='margin-left:.5in'><span
    3976 style='mso-fareast-font-family:"Times New Roman"'>
    3977 What is plotted here?</span></h5>
     3969</p>
     3970
     3971<h5 style='margin-left:.5in'>
     3972What is plotted here?</h5>
    39783973<P style='margin-left:1.0in'>
    39793974The variance-covariance matrix as a color coded array is shown on this
     
    39823977the parameter numbers are below the plot.
    39833978</P>
    3984 <h5 style='margin-left:.5in'><span
    3985 style='mso-fareast-font-family:"Times New Roman"'>
    3986 What can I do with the plot?</span></h5>
    3987 
    3988 <BL>
    3989 <LI style='margin-left:1.0in'>Move the mouse cursor across the plot. If on a diagonal cell, the parameter name,
     3979
     3980<h5 style='margin-left:.5in'>
     3981What can I do with the plot?</h5>
     3982
     3983<P style='margin-left:1.0in'>
     3984Move the mouse cursor across the plot. If on a diagonal cell, the parameter name,
    39903985value and esd is shown both as a tool tip and in the right hand portion of the
    39913986status bar. If the cursor is off the diagonal, the two parameter names and
    39923987their covariance are shown in the tool tip and the status bar.
    3993 </LI>
    3994 <LI style='margin-left:1.0in'>Use the Zoom and Pan buttons to focus on some
     3988</P>
     3989<P style='margin-left:1.0in'>
     3990Use the Zoom and Pan buttons to focus on some
    39953991section of the variance-covariance matrix.
    3996 </LI>
    3997 
    3998 <LI style='margin-left:1.0in'>Press
     3992</p>
     3993
     3994<P style='margin-left:1.0in'>
     3995Press
    39993996‘s’ – A color scheme selection dialog is shown. Select a color scheme and press
    40003997OK, the new color scheme will be plotted. The default is ‘RdYlGn’.
    4001 </LI>
    4002 <LI style='margin-left:1.0in'>Press
    4003 ‘p’ – Saves the covariance values in a text file.
    4004 </LI>
    4005 </BL>
    4006 
    4007 <h4 style='margin-left:0.25in'><a name=Constraints><span style='mso-fareast-font-family:
     3998</p>
     3999<P style='margin-left:1.0in'>
     4000Press ‘p’ – Saves the covariance values in a text file.
     4001</p>
     4002
     4003<h4 style='margin-left:0.25in'><a name="Constraints"><span style='mso-fareast-font-family:
    40084004"Times New Roman"'>Constraints<o:p></o:p></span></a></h4>
    40094005
    40104006<span style='mso-bookmark:Constraints'></span>
    40114007
    4012 <p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
    4013 "Times New Roman"'>This window shows the constraints to be used in a
     4008<p class=MsoNormal style='margin-left:.5in'>
     4009This window shows the constraints to be used in a
    40144010refinement. It is organized into three tabbed pages. ‘Phase constraints’ contain
    40154011those involving parameters that describe aspects of the crystalline phases to
     
    40174013fraction parameters). ‘Histogram/Phase constraints’ are those which describe
    40184014aspects of the pattern that depend on both the phase and the data set used in
    4019 the refinement (e.g. </span><span style='font-family:Symbol;mso-fareast-font-family:
    4020 "Times New Roman"'>m</span><span style='mso-fareast-font-family:"Times New Roman"'>strain
     4015the refinement (e.g.
     4016microstrain
    40214017and crystallite size parameters). ‘Histogram constraints’ are those that depend
    4022 only on the data set (e.g. profile coefficients <span class=GramE>U,V</span>,W,X
    4023 and Y).<o:p></o:p></span></p>
    4024 
    4025 <h5 style='margin-left:.5in'><span style='mso-fareast-font-family:"Times New Roman"'>What
    4026 can I do here?<o:p></o:p></span></h5>
     4018only on the data set (e.g. profile coefficients U, V, W, X and Y).
     4019</p>
     4020
     4021<h5 style='margin-left:.5in'>
     4022What can I do here?</h5>
    40274023
    40284024<p class=MsoListParagraphCxSpFirst style='margin-left:1.0in;mso-add-space:auto;
     
    41034099sum. A Delete button can be used to remove it.<o:p></o:p></span></p>
    41044100
    4105 <h4 style='margin-left:0.25in'><a name=Restraints><span style='mso-fareast-font-family:
     4101<h4 style='margin-left:0.25in'><a name="Restraints"><span style='mso-fareast-font-family:
    41064102"Times New Roman"'>Restraints</span></a><span style='mso-fareast-font-family:
    41074103"Times New Roman"'><o:p></o:p></span></h4>
     
    43374333a vector rigid body can be refined.<o:p></o:p></span></p>
    43384334
    4339 <h4 style='margin-left:0.25in'><a name=Sequential></a><u><span style='mso-fareast-font-family:
     4335<h4 style='margin-left:0.25in'><a name="Sequential"></a><u><span style='mso-fareast-font-family:
    43404336"Times New Roman"'>Sequential</span></u><span style='mso-fareast-font-family:
    43414337"Times New Roman"'> refinement results<o:p></o:p></span></h4>
     
    44024398but does display the data in the Plots Window. They are described below.</p>
    44034399
    4404 <h2 style='margin-left:.25in'><a name="PWD_Analysis">Powder Histograms -
     4400<h2 style='margin-left:.25in'><a name="PWDR">6A. Powder Histograms -
    44054401type PWDR</a></h2>
    44064402
     
    44214417</p>
    44224418
    4423 <h5 style='margin-left:.5in'><a name=Comments></a><span
    4424 style='mso-bookmark:Comments'><span style='mso-fareast-font-family:"Times New Roman"'>What
    4425 can I do here?<o:p></o:p></span></span></h5>
     4419<h5 style='margin-left:.5in'>What can I do here?</h5>
    44264420
    44274421<p style='margin-left:1.0in'>Menu <B>Commands</B>
     
    44294423
    44304424<p class=MsoListParagraphCxSpLast style='margin-left:1.5in;mso-add-space:auto;
    4431 text-indent:-.25in;mso-list:l27 level1 lfo15'><span style='mso-bookmark:Comments'><![if !supportLists]><span
    4432 style='mso-fareast-font-family:"Times New Roman"'><span style='mso-list:Ignore'>a.<span
    4433 style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><![endif]><b
    4434 style='mso-bidi-font-weight:normal'><span
    4435 style='mso-fareast-font-family:"Times New Roman"'>Error Analysis</span></b></span><span
    4436 style='mso-bookmark:Comments'><span style='mso-fareast-font-family:"Times New Roman"'>
     4425text-indent:-.25in;mso-list:l27 level1 lfo15'>
     4426a.&nbsp;<b>Error Analysis</b>
    44374427– this produces a ‘normal probability’ plot for the refinement result as
    44384428bounded by the limits. The slope and intercept of the curve in the central
    4439 region (-1 &lt; </span></span><span style='mso-bookmark:Comments'><span
    4440 style='font-family:Symbol;mso-fareast-font-family:"Times New Roman"'>D</span></span><span
    4441 style='mso-bookmark:Comments'><span style='mso-fareast-font-family:"Times New Roman"'>/</span></span><span
    4442 style='mso-bookmark:Comments'><span style='font-family:Symbol;mso-fareast-font-family:
    4443 "Times New Roman"'>s</span></span><span style='mso-bookmark:Comments'><span
    4444 style='mso-fareast-font-family:"Times New Roman"'> &lt; 1) are shown on the
     4429region (-1 &lt; / &lt; 1) are shown on the
    44454430plot status line. The slope is the square root of GOF for the best fit set of
    4446 data points (~68% of the data).<o:p></o:p></span></span></p>
     4431data points (~68% of the data).</p>
    44474432
    44484433<h5 style='margin-left:.5in'><span
     
    45024487selected from the data tree. The offset options are not active.
    45034488<DT><B>f: select data</b><dd>Allows only some powder patterns to be
    4504     plotted rather than all.
     4489    plotted, rather than all.
    45054490<DT><B> +: no selection</b><dd>for multiple powder profiles, only the observed curve is shown.</span></p>
    45064491</DL>
     
    45534538</DL>
    45544539
    4555 <h4 style='margin-left:0.25in'><span style='mso-bookmark:Comments'><u>Comments<o:p></o:p></u></span></h4>
    4556 
    4557 <p class=MsoNormal style='margin-left:.5in'><span style='mso-bookmark:Comments'>This
     4540<h4 style='margin-left:0.25in'><a name="PWDR_Comments"><u>Comments</u></a></h4>
     4541
     4542<p class=MsoNormal style='margin-left:.5in'>This
    45584543window shows whatever comment lines (preceded by “#”) found when the powder
    45594544data file was read by GSAS-II. If you are lucky, there will be useful
    45604545information here (e.g. sample name, date collected, wavelength used, etc.). If
    4561 not, this window will be blank. The text is read-only.</span></p>
    4562 
    4563 <span style='mso-bookmark:Comments'></span>
    4564 
    4565 <h4 style='margin-left:0.25in'><a name=Limits><u>
     4546not, this window will be blank. The text is read-only.</p>
     4547
     4548<h4 style='margin-left:0.25in'><a name="PWDR_Limits"><u>
    45664549Limits</u></a></h4>
    45674550
     
    46004583What is plotted here?</span></h5>
    46014584<P style='margin-left:1.0in'>
    4602 The plot is the same as for <a href="#PWD_Analysis">Powder Histograms -
     4585The plot is the same as for <a href="#PWD">Powder Histograms -
    46034586type PWDR</a> and the key press commands are all the same. However,
    46044587two vertical lines are displayed, green for the lower Tmin value and
     
    46144597</P>
    46154598
    4616 <h4 style='margin-left:0.25in'><a name=Background><u><span style='mso-fareast-font-family:
     4599<h4 style='margin-left:0.25in'><a name="PWDR_Background"><u><span style='mso-fareast-font-family:
    46174600"Times New Roman"'>Background<o:p></o:p></span></u></a></h4>
    46184601
     
    47684751class=SpellE>int</span>’ coefficients.<o:p></o:p></span></p>
    47694752
    4770 <h4 style='margin-left:0.25in'><a name="Instrument_Parameters"><u><span
     4753<h4 style='margin-left:0.25in'><a name="PWDR_Instrument_Parameters"><u><span
    47714754style='mso-fareast-font-family:"Times New Roman"'>Instrument Parameters</span></u></a><u><span
    47724755style='mso-fareast-font-family:"Times New Roman"'><o:p></o:p></span></u></h4>
     
    49274910</P>
    49284911
    4929 <h4 style='margin-left:0.25in'><a name="Sample_Parameters"></a><u>
     4912<h4 style='margin-left:0.25in'><a name="PWDR_Sample_Parameters"></a><u>
    49304913Sample Parameters</u></a></h4>
    49314914
     
    49404923text-underline:none'><o:p></o:p></span></span></span></p>
    49414924
    4942 <h5 style='margin-left:.5in'><a name="Powder_Peaks"><span style='mso-fareast-font-family:
    4943 "Times New Roman"'>What can I do here?</span></a><span style='mso-bookmark:
    4944 Powder_Peaks'><span class=MsoHyperlink><span style='mso-fareast-font-family:
    4945 "Times New Roman";color:windowtext;font-weight:normal;mso-bidi-font-weight:
    4946 bold;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></h5>
     4925<h5 style='margin-left:.5in'>
     4926What can I do here?</a></h5>
    49474927
    49484928<h5 style='margin-left:1.0in;text-indent:-.25in;mso-list:l10 level1 lfo21'><span
     
    50194999none;text-underline:none'><o:p></o:p></span></span></span></span></p>
    50205000
    5021 <h4 style='margin-left:0.25in'><span style='mso-bookmark:Powder_Peaks'><span
    5022 style='mso-fareast-font-family:"Times New Roman"'>Peak List</span></span><span
    5023 class=MsoHyperlink><span style='mso-fareast-font-family:"Times New Roman";
    5024 color:#5B9BD5;mso-themecolor:accent1;text-decoration:none;text-underline:none'><o:p></o:p></span></span></h4>
     5001<h4 style='margin-left:0.25in'><a name="PWDR_Peak_List"></a><u>
     5002Peak List</u></a></h4>
    50255003
    50265004<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
     
    50315009text-underline:none'><o:p></o:p></span></span></span></p>
    50325010
    5033 <h5 style='margin-left:.5in'><a name="Index_Peaks"><span style='mso-fareast-font-family:
    5034 "Times New Roman"'>What can I do here? </span></a><span style='mso-bookmark:
    5035 Index_Peaks'><span class=MsoHyperlink><span style='mso-fareast-font-family:
    5036 "Times New Roman";color:windowtext;font-weight:normal;mso-bidi-font-weight:
    5037 bold;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></h5>
     5011<h5 style='margin-left:.5in'>
     5012What can I do here?</a></h5>
    50385013
    50395014<h5 style='margin-left:81.0pt;text-indent:-.25in;mso-list:l13 level1 lfo22'><span
     
    52205195text-underline:none'><o:p></o:p></span></span></span></span></h5>
    52215196
    5222 <h4 style='margin-left:0.25in'><span style='mso-bookmark:Index_Peaks'><a
    5223 name="Index_Peak_List"></a><span style='mso-fareast-font-family:"Times New Roman"'>Index
    5224 Peak List</span></span><span class=MsoHyperlink><span style='mso-fareast-font-family:
    5225 "Times New Roman";color:#5B9BD5;mso-themecolor:accent1;text-decoration:none;
    5226 text-underline:none'><o:p></o:p></span></span></h4>
     5197<h4 style='margin-left:0.25in'><a name="PWDR_Index_Peak_List"></a><u>
     5198Index Peak List</u></a></h4>
    52275199
    52285200<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
     
    52725244style='color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></p>
    52735245
    5274 <h4 style='margin-left:0.25in'><a name="Unit_Cells_List"></a><span
    5275 style='mso-fareast-font-family:"Times New Roman"'>Unit Cells List</span><span
    5276 class=MsoHyperlink><span style='mso-fareast-font-family:"Times New Roman";
    5277 color:#5B9BD5;mso-themecolor:accent1;text-decoration:none;text-underline:none'><o:p></o:p></span></span></h4>
     5246<h4 style='margin-left:0.25in'><a name="PWDR_Unit_Cells_List">
     5247Unit Cells List</a></h4>
    52785248
    52795249<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
     
    53265296style='color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></p>
    53275297
    5328 <h5 style='margin-left:.5in'><a name="Reflection_List"><span style='mso-fareast-font-family:
     5298<h5 style='margin-left:.5in'><a name="PWDR_Reflection_Lists"><span style='mso-fareast-font-family:
    53295299"Times New Roman"'>What can I do here?<span class=MsoHyperlink><span
    53305300style='color:#4F4FFF;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></a></h5>
     
    54665436
    54675437<p class=MsoListParagraphCxSpLast style='margin-left:1.0in;mso-add-space:auto;
    5468 text-indent:-.25in;mso-list:l20 level1 lfo24'><span style='mso-bookmark:Reflection_List'><![if !supportLists]><span
    5469 class=MsoHyperlink><span style='mso-fareast-font-family:"Times New Roman";
    5470 color:windowtext;text-decoration:none;text-underline:none'><span
    5471 style='mso-list:Ignore'>6.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    5472 </span></span></span></span><![endif]><b style='mso-bidi-font-weight:normal'><span
    5473 style='mso-fareast-font-family:"Times New Roman"'>Select ‘keep’ –</span></b></span><span
    5474 style='mso-bookmark:Reflection_List'><span style='mso-fareast-font-family:"Times New Roman"'>
     5438text-indent:-.25in;mso-list:l20 level1 lfo24'>
     54396. &nbsp;
     5440Select ‘keep’ –
    54755441this preserves this solution for a subsequent indexing run; otherwise all
    5476 solutions are erased before the indexing trial begins.<span class=MsoHyperlink><span
    5477 style='color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></span></p>
    5478 
    5479 <h4 style='margin-left:0.25in'><span style='mso-bookmark:Reflection_List'><span
    5480 style='mso-fareast-font-family:"Times New Roman"'>Reflection List</span></span><span
    5481 class=MsoHyperlink><span style='mso-fareast-font-family:"Times New Roman";
    5482 color:#5B9BD5;mso-themecolor:accent1;text-decoration:none;text-underline:none'><o:p></o:p></span></span></h4>
     5442solutions are erased before the indexing trial begins.
     5443</p>
     5444
     5445<h4 style='margin-left:0.25in'><a name="PWDR_Reflection_Lists"></a><u>
     5446Reflection Lists</u></a></h4>
    54835447
    54845448<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
    54855449"Times New Roman"'>This window shows the reflections for the selected phase
    54865450found in this powder data set. It is generated by a Rietveld or Pawley
    5487 refinement. <span class=MsoHyperlink><span style='color:windowtext;text-decoration:
    5488 none;text-underline:none'><o:p></o:p></span></span></span></p>
     5451refinement.</p>
    54895452
    54905453<h5 style='margin-left:.5in'><span style='mso-fareast-font-family:"Times New Roman"'>What
     
    55135476text-underline:none'><o:p></o:p></span></span></span></p>
    55145477
    5515 <h3 style='margin-left:.5in'>Single Crystal Histograms – HKLF</h3>
    5516 
    5517 <h4 style='margin-left:0.25in'>Instrument Parameters</h4>
     5478<h2 style='margin-left:.25in'><a name="HKLF">
     54796B. Single Crystal Histograms – type HKLF
     5480</a></h2>
     5481
     5482<h4 style='margin-left:0.25in'><a name="HKLF_Instrument_Parameters">
     5483Instrument Parameters</a></h4>
    55185484
    55195485<p class=MsoNormal style='margin-left:.5in'>This window shows the histogram
     
    55215487will need to do so.</p>
    55225488
    5523 <h4 style='margin-left:0.25in'>HKL Plot Controls</h4>
     5489<h4 style='margin-left:0.25in'><a name="HKLF_HKL_Plot_Controls">
     5490HKL Plot Controls</a></h4>
    55245491
    55255492<p class=MsoNormal style='margin-left:.5in'>This controls the display of the
     
    55855552none;text-underline:none'><o:p></o:p></span></span></span></p>
    55865553
    5587 <h3 style='margin-left:.5in'><span style='mso-fareast-font-family:"Times New Roman"'>Pair
    5588 Distribution Functions - PDF</span><span class=MsoHyperlink><span
    5589 style='color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></h3>
    5590 
    5591 <h4 style='margin-left:0.25in'><a name="PDF_Controls"></a><span style='mso-fareast-font-family:
    5592 "Times New Roman"'>PDF Controls<span class=MsoHyperlink><span style='color:
    5593 #5B9BD5;mso-themecolor:accent1;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></h4>
    5594 
    5595 <p class=MsoNormal style='margin-left:.5in'>This window </p>
    5596 
    5597 <h4 style='margin-left:0.25in'><a name="I_Q"></a><span style='mso-fareast-font-family:
    5598 "Times New Roman"'>I(Q), <a name="S_Q"></a>S(Q), <a name="F_Q"></a>F(Q) &amp; <a
    5599 name="G_R"></a>G(R)<span class=MsoHyperlink><span style='color:#5B9BD5;
    5600 mso-themecolor:accent1;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></h4>
    5601 
    5602 <p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
    5603 "Times New Roman"'>This window... <span class=MsoHyperlink><span
    5604 style='color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></p>
    5605 
    5606 <h3 style='margin-left:.5in'><span style='mso-fareast-font-family:"Times New Roman"'>2-D
    5607 Images – IMG<span class=MsoHyperlink><span style='color:windowtext;text-decoration:
    5608 none;text-underline:none'><o:p></o:p></span></span></span></h3>
    5609 
    5610 <h4 style='margin-left:0.25in'><u>Comments<o:p></o:p></u></h4>
     5554<h2 style='margin-left:.25in'><a name="PDF">
     55556C. Pair Distribution Functions - type PDF
     5556</a></h2>
     5557<p class=MsoNormal style='margin-left:.5in'>
     5558A PDF entry is created from a <a href="#PWDR">powder histogram (PWDR
     5559entry)</a> using the <b>Make new PDFs</b> entry in the <A
     5560href="#Calculate_menu">Calculate menu</A>. The main PDF data tree item
     5561has no parameters and provides no new menu items. When this item is
     5562selected, the <a href="#PDF_I_Q">I(Q) function</a> is plotted, see below.
     5563
     5564<h4 style='margin-left:0.25in'><a name="PDF_Controls">PDF Controls</a></h4>
     5565
     5566<p class=MsoNormal style='margin-left:.5in'>This window provides
     5567parameters for computing the pair distribution function [PDF, G(r)]
     5568from the <a href="#PDF_I_Q">I(Q) function</a>. This can only be done
     5569when a chemical formula and appropriate control values are
     5570provided. If so, clicking on this menu item causes the
     5571<a href="#PDF_I_Q">I(Q)</a>,
     5572<a href="#PDF_S_Q">S(Q)</a>,
     5573<a href="#PDF_F_Q">F(Q)</a> and
     5574<a href="#PDF_G_R">G(R) functions</a> to be plotted, as described
     5575below.
     5576</p>
     5577
     5578<h5 style='margin-left:.5in'>
     5579What can I do here?</h5>
     5580<P style='margin-left:1.0in'>
     5581The PDF parameters can be changed, triggering recomputation of the
     5582<a href="#PDF_I_Q">I(Q)</a>,
     5583<a href="#PDF_S_Q">S(Q)</a>,
     5584<a href="#PDF_F_Q">F(Q)</a> and
     5585<a href="#PDF_G_R">G(R) functions</a>.
     5586Available menu commands are:
     5587<DL style='margin-left:1.0in'>
     5588  <DT>Add element
     5589  <DD>Adds a new element to the chemical formula by clicking on a
     5590    periodic table. Note that the number of atoms of this type in the
     5591    empirical formula must still be entered.
     5592  <DT>Delete element
     5593  <DD>Removes a previously-entered element from the chemical formula.
     5594  <DT>Copy Controls
     5595  <DD>Copies the current PDF control values to other PDF data entries
     5596  <DT>Load Controls
     5597  <DD>Replaces the current PDF control values with values read from a
     5598    file (see Save controls).
     5599  <DT>Save Controls
     5600  <DD>Saves the current PDF control values into a file.
     5601  <DT>Compute PDF
     5602  <DD>Recomputes the PDF for the current entry. This is usually done
     5603    automatically when values are changed, but if not this can be
     5604    forced with this menu item.
     5605  <DT>Compute all PDFs
     5606  <DD>Recomputes the PDFs for all PDF entries. This is usually done
     5607    after Copy Controls is used.
     5608</DL>
     5609
     5610</P>
     5611
     5612<h5 style='margin-left:.5in'><span
     5613style='mso-fareast-font-family:"Times New Roman"'>
     5614What is plotted here?</span></h5>
     5615<P style='margin-left:1.0in'>
     5616When a chemical formula and appropriate control values are
     5617provided, clicking on this menu item causes the
     5618<a href="#PDF_I_Q">I(Q)</a>,
     5619<a href="#PDF_S_Q">S(Q)</a>,
     5620<a href="#PDF_F_Q">F(Q)</a> and
     5621<a href="#PDF_G_R">G(R) functions</a> to be plotted, as described
     5622separately, below.
     5623below.
     5624</P>
     5625
     5626<h5 style='margin-left:.5in'><span
     5627style='mso-fareast-font-family:"Times New Roman"'>
     5628What can I do with the plot?</span></h5>
     5629<P style='margin-left:1.0in'>
     5630For each of the plots, the following keyboard shortcuts are available:
     5631
     5632
     5633<P style='margin-left:.5in'>
     5634For line plots with more than one powder pattern:</p>
     5635<DL style='margin-left:0.75in'>
     5636<DT><B>    c: contour on/off</b><dd>if multiple PDFs are available,
     5637  then a contour plot is shown for the displayed function.
     5638  All data sets must be the same length as the first
     5639one to be included in the contour plot.
     5640<DT><B> m: toggle multiple plot</b><dd>for multiple PDFs, this will show only the one
     5641selected from the data tree. The offset options are not active. Or all
     5642  selected items will be plotted on a single axis.
     5643<DT><B> s: toggle single plot</b><dd>for multiple PDFs, this will show only the one
     5644selected from the data tree. The offset options are not active. Or all
     5645  selected items will be plotted on a single axis.
     5646<DT><B>f: select data</b><dd>Allows only some PDFs to be
     5647    plotted, rather than all.
     5648<DT><B>    t: toggle legend</b><dd>provides a legend with the line
     5649  type and name for each PDF.
     5650</DL>
     5651
     5652<P style='margin-left:.5in'>For line plots in waterfall mode (multiple
     5653patterns are shown) these key press items are defined:</p>
     5654<DL style='margin-left:0.75in'>
     5655<DT><B>    t: toggle legend</b><dd>provides a legend with the line
     5656  type and name for each PDF.
     5657<DT><B>l: offset left</b><dd>
     5658    for a waterfall plot of multiple powder profiles, increase the
     5659offset to the left.
     5660
     5661<DT><B>r: offset right</b><dd>
     5662    for a waterfall plot of multiple powder profiles, increase the
     5663offset to the left.
     5664
     5665<DT><B>    d: offset down</b><dd>for a waterfall plot of multiple
     5666  powder profiles, increase the offset down.
     5667
     5668<DT><B>    u: offset up</b><dd>for a waterfall plot of multiple powder
     5669  profiles, increase the offset up.
     5670
     5671<DT><B>    o: reset offset</b><dd>for a waterfall plot of multiple powder
     5672    profiles, reset to no offset.
     5673</DL>
     5674
     5675
     5676<h4 style='margin-left:0.25in'><a name="PDF_I_Q">I(Q) Function</a></h4>
     5677<p class=MsoNormal style='margin-left:.5in'>
     5678This shows the I(Q) function.
     5679See the <a href="#PDF_Controls">PDF
     5680Controls</a> for information on menu commands and plot options,
     5681</p>
     5682
     5683<h4 style='margin-left:0.25in'><a name="PDF_S_Q">S(Q) Function</a></h4>
     5684<p class=MsoNormal style='margin-left:.5in'>
     5685This shows the S(Q) function.
     5686See the <a href="#PDF_Controls">PDF
     5687Controls</a> for information on menu commands and plot options,
     5688</p>
     5689
     5690<h4 style='margin-left:0.25in'><a name="PDF_F_Q">F(Q) Function</a></h4>
     5691<p class=MsoNormal style='margin-left:.5in'>
     5692This shows the F(Q) function.
     5693See the <a href="#PDF_Controls">PDF
     5694Controls</a> for information on menu commands and plot options,
     5695</p>
     5696
     5697<h4 style='margin-left:0.25in'><a name="PDF_G_R">G(r) Function</a></h4>
     5698<p class=MsoNormal style='margin-left:.5in'>
     5699This shows the PDF, G(r) function.
     5700See the <a href="#PDF_Controls">PDF
     5701Controls</a> for information on menu commands and plot options,
     5702</p>
     5703
     5704<h2 style='margin-left:.25in'><a name="IMG">
     57056D. 2-D Images – type IMG
     5706</a></h2>
     5707
     5708<h4 style='margin-left:0.25in'><a name="IMG_Comments"><u>Comments</u></a></h4>
    56115709
    56125710<p class=MsoNormal style='margin-left:.5in'>This window shows whatever comment
     
    56165714is read-only.</p>
    56175715
    5618 <h4 style='margin-left:0.25in'>Image Controls<a name="Image_Controls"></a></h4>
     5716<h4 style='margin-left:0.25in'>Image Controls<a name="IMG_Image_Controls"></a></h4>
    56195717
    56205718<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
     
    56355733style='color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></p>
    56365734
    5637 <h4 style='margin-left:0.25in'><a name="Image_Masks">Masks</a></h4>
     5735<h4 style='margin-left:0.25in'><a name="IMG_Masks">Masks</a></h4>
    56385736
    56395737<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
     
    56445742mounting, etc. Masks can be created with a menu command or with
    56455743keyboard/mouse shortcuts.
    5646 
    56475744There are five types of masks:<OL>
    56485745<LI style='margin-left:.5in'>Spot masks: occlude a circle with a
    56495746  selected center and diameter in image coordinates (mm).
    5650 <P style='margin-left:.25in'><B>Create Spot masks</B> with a menu command and then by clicking on
    5651   the location on the image that should be masked. Or, there are also
     5747<LI style='margin-left:.5in'>Ring masks: occludes a specific Bragg
     5748  reflection (a ring placed relative to the image center). The
     5749  location and thickness of the ring are specified in degrees
     5750  2-theta.
     5751<LI style='margin-left:.5in'>Arc masks: occludes a section of a Bragg
     5752  reflection, similar to a ring mask, except that in addition to the
     5753  location and thickness of the ring, the mask has a starting and ending
     5754  azimuthal angle.
     5755<LI style='margin-left:.5in'>Polygon masks: occludes an arbitary
     5756  region created by line segments joining a series of points
     5757  specified in image coordinates (mm). Pixels inside the polygon mask are not
     5758  used for integration.
     5759<LI style='margin-left:.5in'>The Frame mask: occludes an arbitary
     5760  region created by line segments joining a series of points
     5761  specified in image coordinates (mm). Typically a point is placed
     5762  near each corner of the image. Only pixels inside the frame mask are
     5763  used for integration. Only one frame mask can be defined.
     5764</OL>
     5765
     5766<h5 style='margin-left:.5in'>
     5767What can I do here?</h5>
     5768<P style='margin-left:1.0in'>
     5769Masks of each type are created using the appropriate menu commands and
     5770then clicking as described in the section on "What can I do with the
     5771plot?" below, or by using keyboard shortcuts, also described in that
     5772section.
     5773</P>
     5774
     5775<h5 style='margin-left:.5in'>
     5776What is plotted here?</h5>
     5777<P style='margin-left:1.0in'>
     5778The image is shown, as described above. Note that
     5779The frame mask, if defined, is displayed in green, while
     5780the other types of masks are shown in red.</P>
     5781
     5782<h5 style='margin-left:.5in'>
     5783What can I do with the plot?</h5>
     5784<P style='margin-left:1.0in'>
     5785
     5786There are menu commands to create masks as well as keyboard
     5787shortcuts. If a menu command is used, then use left and right mouse
     5788clicks as described below.
     5789<OL>
     5790<LI style='margin-left:1.0in'>Spot masks:
     5791
     5792<P style='margin-left:.25in'><B>Create Spot masks</B> after a menu command by clicking on
     5793  the location on the image that should be masked. There are also
    56525794  three ways to create spot masks with the keyboard:
    56535795 <UL>
     
    56725814the mask and then dragging to change the mask size.
    56735815
    5674 <LI style='margin-left:.5in'>Ring masks: occludes a specific Bragg
    5675   reflection (a ring placed relative to the image center). The
    5676   location and thickness of the ring are specified in degrees
    5677   2-theta.
     5816<LI style='margin-left:1.0in'>Ring masks:
     5817
    56785818<P style='margin-left:.25in'><B>Create Ring masks</B> with a menu command and then by left-clicking on
    56795819  the mask center; Or, by pressing the
     
    56915831  the circle change spacing between the inner and outer circle.
    56925832
    5693 <LI style='margin-left:.5in'>Arc masks: occludes a section of a Bragg
     5833<LI style='margin-left:1.0in'>Arc masks: occludes a section of a Bragg
    56945834  reflection, similar to a ring mask, except that in addition to the
    56955835  location and thickness of the ring, the mask has a starting and ending
     
    57165856  arc azimuthal range.
    57175857
    5718 <LI style='margin-left:.5in'>Polygon masks: occludes an arbitary
     5858<LI style='margin-left:1.0in'>Polygon masks: occludes an arbitary
    57195859  region created by line segments joining a series of points
    57205860  specified in image coordinates (mm). Pixels inside the polygon mask are not
     
    57365876  the position where the mouse is released.
    57375877
    5738 <LI style='margin-left:.5in'>The Frame mask: occludes an arbitary
     5878<LI style='margin-left:1.0in'>The Frame mask: occludes an arbitary
    57395879  region created by line segments joining a series of points
    57405880  specified in image coordinates (mm). Typically a point is placed
     
    57585898  the position where the mouse is released.
    57595899</OL>
    5760 <P style='margin-left:.5in'>The frame mask, if defined, is displayed in green, while
    5761 the other types of masks are shown in red. <a name="Mac_rightclick">*</a>Note that on a Mac with a
     5900<P style='margin-left:.75in'><a name="Mac_rightclick">*</a> Note that on a Mac with a
    57625901  one-button mouse, a right-click is generated by pressing the control
    5763   button while clicking the mouse.
    5764 <span class=MsoHyperlink><span
    5765 style='color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></p>
     5902  button while clicking the mouse.
     5903</P>
     5904
     5905<h4 style='margin-left:0.25in'><a name="IMG_Stress/Strain">Stress/Strain</a></h4>
     5906<h5 style='margin-left:.5in'>
     5907What can I do here?</h5>
     5908<P style='margin-left:1.0in'>
     5909...
     5910</P>
     5911
     5912<h5 style='margin-left:.5in'><span
     5913style='mso-fareast-font-family:"Times New Roman"'>
     5914What is plotted here?</span></h5>
     5915<P style='margin-left:1.0in'>
     5916...
     5917</P>
     5918
     5919<h5 style='margin-left:.5in'><span
     5920style='mso-fareast-font-family:"Times New Roman"'>
     5921What can I do with the plot?</span></h5>
     5922<P style='margin-left:1.0in'>
     5923...
     5924</P>
     5925
     5926
     5927<h2 style='margin-left:.25in'><a name="PKS">
     59286E. Powder Peaks – type PKS
     5929</a></h2>
     5930
     5931<h2 style='margin-left:.25in'><a name="SASD">
     59326F. Small Angle Scattering – type SASD
     5933</a></h2>
    57665934
    57675935
     
    57695937<hr size=2 width="100%" align=center>
    57705938
    5771 <h2>7. Phase data tree items</h2>
     5939<h2><a name="Phase">7. Phase data tree items</a></h2>
    57725940
    57735941<p class=MsoNormal style='margin-left:.5in'><span style='mso-fareast-font-family:
     
    57795947style='color:windowtext;text-decoration:none;text-underline:none'><o:p></o:p></span></span></span></p>
    57805948
    5781 <h4 style='margin-left:0.25in'><a name=General>General Phase Parameters</a></h4>
     5949<h4 style='margin-left:0.25in'><a name="General">General Phase Parameters</a></h4>
    57825950
    57835951<span style='mso-bookmark:General'></span>
     
    58275995map. Peaks that are above ‘Peak cutoff’ % of the maximum will be found in this
    58285996procedure; they will be printed on the console and will be shown in the ‘<a
    5829 name="Map_peaks"></a><a href="gsasII.html"><span style='mso-bookmark:Map_peaks'><span
    5830 style='color:windowtext;text-decoration:none;text-underline:none'>Map peaks</span></span></a><span
     5997href="Map_peaks">Map peaks</a><span
    58315998style='mso-bookmark:Map_peaks'></span>’ page. This page will immediately be
    58325999shown and the peaks will be shown on the structure drawing for this phase as
     
    64466613
    64476614<p class=MsoListParagraphCxSpMiddle style='margin-left:1.0in;mso-add-space:
    6448 auto;text-indent:-.25in;mso-list:l5 level1 lfo28'><a name=Texture></a><a
    6449 name="Draw_Options"></a><![if !supportLists]><span style='mso-fareast-font-family:
     6615auto;text-indent:-.25in;mso-list:l5 level1 lfo28'><![if !supportLists]><span style='mso-fareast-font-family:
    64506616"Times New Roman"'><span style='mso-list:Ignore'>5.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    64516617</span></span></span><![endif]>Menu ‘<b style='mso-bidi-font-weight:normal'>Edit’
     
    67956961</P>
    67966962
    6797 <h4 style='margin-left:0.25in'>RB Models</h4>
    6798 
    6799 <p class=MsoNormal style='margin-left:.5in'>This gives the list of included <span
    6800 style='color:#2E75B6;mso-themecolor:accent1;mso-themeshade:191;mso-style-textfill-fill-color:
    6801 #2E75B6;mso-style-textfill-fill-themecolor:accent1;mso-style-textfill-fill-alpha:
    6802 100.0%;mso-style-textfill-fill-colortransforms:lumm=75000'><a
    6803 href="#Rigid_bodies"><!--[if supportFields]><span style='color:black;
    6804 mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%'><span
    6805 style='mso-element:field-begin'></span></span><span style='color:black;
    6806 mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%'><span
    6807 style='color:black;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:
    6808 100.0%'><span style='mso-spacerun:yes'> </span>REF _Ref355170529 \h </span></span><span
    6809 style='color:black;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:
    6810 100.0%'><span style='mso-element:field-separator'></span></span><![endif]--><span
    6811 style='mso-fareast-font-family:"Times New Roman";color:black;mso-style-textfill-fill-color:
    6812 black;mso-style-textfill-fill-alpha:100.0%;text-decoration:none;text-underline:
    6813 none'><span style='color:black;mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:
    6814 100.0%'>Rigid bodies</span></span><span style='color:black;mso-style-textfill-fill-color:
    6815 black;mso-style-textfill-fill-alpha:100.0%'><!--[if gte mso 9]><xml>
    6816  <w:data>08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F005200650066003300350035003100370030003500320039000000</w:data>
    6817 </xml><![endif]--></span><!--[if supportFields]><span style='color:black;
    6818 mso-style-textfill-fill-color:black;mso-style-textfill-fill-alpha:100.0%'><span
    6819 style='mso-element:field-end'></span></span><![endif]--></a></span><span
    6820 class=MsoHyperlink><span style='color:black'><o:p></o:p></span></span></p>
    6821 
    6822 <h4 style='margin-left:0.25in'><a name=Pawley>Texture </a></h4>
     6963<h4 style='margin-left:0.25in'><a name="RB_Models">RB Models</a></h4>
     6964
     6965<p class=MsoNormal style='margin-left:.5in'>This gives the list of
     6966included <a href="#Rigid_bodies">Rigid bodies</a> in this phase</p>
     6967
     6968<h4 style='margin-left:0.25in'><a name="Texture">Texture </a></h4>
    68236969
    68246970<h5 style='margin-left:.5in'><span><span
     
    68276973none'><o:p></o:p></span></span></span></span></h5>
    68286974
    6829 <h4 style='margin-left:0.25in'><span>Map peaks</span></h4>
     6975<h4 style='margin-left:0.25in'><a name="Map_peaks">Map peaks</a></h4>
    68306976
    68316977<p class=MsoNormal style='margin-left:.5in'><span>This
     
    69607106text-underline:none'>General</span></span></a><span>).</span></p>
    69617107
    6962 <h5 style='margin-left:.5in'><span>What can I do
    6963 here?</span></h5>
     7108<h5 style='margin-left:.5in'><span>What can I do here?</span></h5>
    69647109
    69657110<p class=MsoListParagraphCxSpFirst style='margin-left:1.0in;mso-add-space:auto;
     
    70167161value and then pressing enter or selecting somewhere else in the table.</span></p>
    70177162
     7163<h4 style='margin-left:0.25in'><a name="Layers">Layers</a></h4>
     7164<h5 style='margin-left:.5in'><span>What can I do here?</span></h5>
     7165
     7166<h4 style='margin-left:0.25in'><a name="Wave_Data"></a>Wave Data</h4>
     7167<h5 style='margin-left:.5in'><span>What can I do here?</span></h5>
     7168
     7169<h4 style='margin-left:0.25in'><a name="MC/SA">MC/SA</a></h4>
     7170<h5 style='margin-left:.5in'><span>What can I do here?</span></h5>
     7171
     7172<h4 style='margin-left:0.25in'><a name="Pawley_reflections"></a>Pawley reflections</h4>
     7173<h5 style='margin-left:.5in'><span>What can I do here?</span></h5>
     7174
    70187175<hr size=2 width="100%" align=center>
    70197176<hr size=2 width="100%" align=center>
    70207177
    7021 <!-- hhmts start -->Last modified: Fri Dec 30 19:22:11 CST 2016 <!-- hhmts end -->
     7178<!-- hhmts start -->Last modified: Sun Jan  1 17:06:30 CST 2017 <!-- hhmts end -->
    70227179
    70237180</div>
Note: See TracChangeset for help on using the changeset viewer.