Changeset 1411


Ignore:
Timestamp:
Jul 5, 2014 3:35:29 PM (9 years ago)
Author:
vondreele
Message:

remove unused reference to z-matrix RBs
noted in comment about Constraints problem with returning after refine.
NB: The Constraints menu isn't built the same was as Restraints or Rigid Bodies
Fix peak fitting - now can refine sig, gam, etc. for selected peaks along with U,V,W, etc.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIconstrGUI.py

    r1390 r1411  
    10561056            G2frame.Page = [page,'rrb']
    10571057            UpdateResidueRB()
    1058         elif text == 'Z-matrix rigid bodies':
    1059             G2frame.dataFrame.RigidBodyMenu.Remove(0)
    1060             G2frame.dataFrame.RigidBodyMenu.Insert(0,G2frame.dataFrame.ZMatrixRBMenu,title='Edit')
    1061             G2frame.Page = [page,'zrb']
    1062             UpdateZMatrixRB()
    10631058           
    10641059    def getMacroFile(macName):
  • trunk/GSASIIgrid.py

    r1407 r1411  
    26982698        self.PostfillDataMenu(empty=True)
    26992699       
    2700         # Constraints
     2700        # Constraints - something amiss here - get weird wx C++ error after refine!
    27012701        self.ConstraintMenu = wx.MenuBar()
    27022702        self.PrefillDataMenu(self.ConstraintMenu,helpType='Constraints')
  • trunk/GSASIIpwd.py

    r1373 r1411  
    919919                if sigName in varyList:
    920920                    sig = parmDict[sigName]
     921                    dsdU = dsdV = dsdW = 0
    921922                else:
    922923                    sig = G2mth.getCWsig(parmDict,theta)
     
    926927                if gamName in varyList:
    927928                    gam = parmDict[gamName]
     929                    dgdX = dgdY = 0
    928930                else:
    929931                    gam = G2mth.getCWgam(parmDict,theta)
     
    994996                    if len(Pdabc):
    995997                        alp = np.interp(dsp,Pdabc[0],Pdabc[1])
     998                        dad0 = 0
    996999                    else:
    9971000                        alp = G2mth.getTOFalpha(parmDict,dsp)
     
    10031006                    if len(Pdabc):
    10041007                        bet = np.interp(dsp,Pdabc[0],Pdabc[2])
     1008                        dbdb0 = dbdb1 = dbdb2 = 0
    10051009                    else:
    10061010                        bet = G2mth.getTOFbeta(parmDict,dsp)
     
    10091013                if sigName in varyList:
    10101014                    sig = parmDict[sigName]
     1015                    dsds0 = dsds1 = dsds2 = 0
    10111016                else:
    10121017                    sig = G2mth.getTOFsig(parmDict,dsp)
     
    10151020                if gamName in varyList:
    10161021                    gam = parmDict[gamName]
     1022                    dsdX = dsdY = 0
    10171023                else:
    10181024                    gam = G2mth.getTOFgamma(parmDict,dsp)
     
    12831289        if 'C' in Inst['Type'][0]:
    12841290            names = ['pos','int','sig','gam']
    1285         else:
     1291        else:   #'T'
    12861292            names = ['pos','int','alp','bet','sig','gam']
    12871293        for i,peak in enumerate(Peaks):
     
    13121318        if 'C' in dataType:
    13131319            names = ['pos','int','sig','gam']
    1314         else:
     1320        else:   #'T'
    13151321            names = ['pos','int','alp','bet','sig','gam']           
    13161322        head = 13*' '
Note: See TracChangeset for help on using the changeset viewer.