Changeset 2681 for trunk/GSASIIplot.py


Ignore:
Timestamp:
Jan 31, 2017 3:38:48 PM (5 years ago)
Author:
vondreele
Message:

fix missing 'Oblique' problem in G2imgGUI
fix inner 2-theta limit issue in OnTransferAngles?
PDF Peaks can now clear all peaks
PDF peak picking now gives pos,mag & sig=0.085 as default
calculated PDF peak fit curve now plotted on G(R) from PDF Peaks
fitting of PDF peaks implemented - works fine; needs text output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2672 r2681  
    24942494            if mouse.button == 1:
    24952495                El = data['ElList'].keys()[0]
    2496                 Peaks['Peaks'].append([xy[0],(xy[1]-Peaks['Background'][1][1]*xy[0])/.798,.5,'',El,El,0.])
     2496                Peaks['Peaks'].append([xy[0],(xy[1]-Peaks['Background'][1][1]*xy[0])/4.7,.085,'',El,El,0.])
    24972497                Peaks['Peaks'] = G2mth.sortArray(Peaks['Peaks'],0,reverse=False)
    24982498                PlotISFG(G2frame,data,peaks=Peaks,newPlot=False)
     
    26932693            Y = XYlist[0].T[1]
    26942694            Plot.plot(X,Y,color='b',picker=3)
     2695            if 'calc' in Peaks and len(Peaks['calc']):
     2696                XC,YC= Peaks['calc']
     2697                Plot.plot(XC,YC,color='g')
    26952698            G2frame.Lines.append(Plot.axvline(peaks['Limits'][0],color='g',dashes=(5,5),picker=2.))
    26962699            G2frame.Lines.append(Plot.axvline(peaks['Limits'][1],color='r',dashes=(5,5),picker=2.))
Note: See TracChangeset for help on using the changeset viewer.