Changeset 1911


Ignore:
Timestamp:
Jun 26, 2015 3:50:52 PM (7 years ago)
Author:
toby
Message:

add new tutorial & cleanup

Location:
trunk
Files:
2 added
3 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrls.py

    r1881 r1911  
    31893189    ['FitPeaks', 'FitPeaks', 'Fit Peaks.htm',
    31903190        'Fitting individual peaks & autoindexing'],
     3191    ['BkgFit', 'BkgFit', 'FitBkgTut.htm',
     3192       'Fitting the Starting Background using Fixed Points'],
    31913193       
    31923194    ['CWNeutron', 'CWNeutron', 'Neutron CW Powder Data.htm',
  • trunk/GSASIIpwd.py

    r1898 r1911  
    549549            yb += ybi
    550550        sumBk[0] = np.sum(yb)
    551     elif bakType in ['Q^2 power series','Q^-2 powder series']:
     551    elif bakType in ['Q^2 power series','Q^-2 power series']:
    552552        QT = 1.
    553553        yb += np.ones_like(yb)*parmDict[pfx+'Back;0']
     
    669669            elif bakType == 'cosine':
    670670                dydb[iBak] = npcosd(xdata*iBak)
    671     elif bakType in ['Q^2 power series','Q^-2 powder series']:
     671    elif bakType in ['Q^2 power series','Q^-2 power series']:
    672672        QT = 1.
    673673        dydb[0] = np.ones_like(xdata)
  • trunk/GSASIIpwdGUI.py

    r1909 r1911  
    10781078    G2frame.Bind(wx.EVT_MENU,OnBkgClear,id=G2frame.dataFrame.wxID_BackPts['Clear'])   
    10791079    BackId = G2gd.GetPatternTreeItemId(G2frame,G2frame.PatternId, 'Background')
    1080     Choices = ['chebyschev','cosine','Q^2 power series','Q^-2 powder series','lin interpolate','inv interpolate','log interpolate']
     1080    Choices = ['chebyschev','cosine','Q^2 power series','Q^-2 power series','lin interpolate','inv interpolate','log interpolate']
    10811081    mainSizer = wx.BoxSizer(wx.VERTICAL)
    10821082    mainSizer.Add(BackSizer())
  • trunk/help/gsasII.html

    r1871 r1911  
    23422342</span></a></strong>
    23432343(Link to <a href="https://subversion.xray.aps.anl.gov/pyGSAS/Exercises/FitPeaks/">exercise files</a>)</li>
    2344  
     2344
     2345<li><strong><a href="https://subversion.xray.aps.anl.gov/pyGSAS/Tutorials/BkgFit/FitBkgTut.htm">
     2346<span style='font-weight:normal'>Fitting the Starting Background using Fixed Points
     2347</span></a></strong>
     2348(Link to <a href="https://subversion.xray.aps.anl.gov/pyGSAS/Exercises/BkgFit/">exercise files</a>)</li>
     2349
    23452350</ul><p><i>Rietveld fitting</i><ul>
    23462351
     
    63826387style='mso-bookmark:Pawley'><o:p>&nbsp;</o:p></span></p>
    63836388
    6384 <p class=MsoNormal><span style='mso-bookmark:Pawley'><!-- hhmts start -->Last modified: Thu May 28 13:16:37 CDT 2015 <!-- hhmts end -->
     6389<p class=MsoNormal><span style='mso-bookmark:Pawley'><!-- hhmts start -->Last modified: Fri Jun 19 16:41:44 CDT 2015 <!-- hhmts end -->
    63856390</body>
    63866391
Note: See TracChangeset for help on using the changeset viewer.