Changeset 5147 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jan 19, 2022 3:04:38 PM (9 months ago)
Author:
vondreele
Message:

Add new routine to G2lat - AplusDij? & use it in a couple of places
add a new column to the ISODISTORT mode display - shows values obtained from ISODISTORT
remove calls to GetHstrainShift? for all powder data cases - wrong thing to do.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r5146 r5147  
    72087208            lineSizer.Add(reset,0,WACV)
    72097209            topSizer.Add(lineSizer)
    7210             slideSizer = wx.FlexGridSizer(0,4,0,0)
    7211             slideSizer.AddGrowableCol(2,1)
     7210            slideSizer = wx.FlexGridSizer(0,5,0,0)
     7211            slideSizer.AddGrowableCol(3,1)
    72127212            modeDisp = ISOdata['modeDispl']
    72137213            idsp = 0
     
    72167216                    continue
    72177217                slideSizer.Add(wx.StaticText(ISODIST,label=item[-3].name),0,WACV)
     7218                slideSizer.Add(wx.StaticText(ISODIST,label=' %.5g '%ISOdata['ISOmodeDispl'][idsp]),0,WACV)
    72187219                dispVal = G2G.ValidatedTxtCtrl(ISODIST,modeDisp,idsp,xmin=-2.,xmax=2.,size=(75,20),OnLeave=OnDispVal)
    72197220                slideSizer.Add(dispVal,0,WACV)
     
    72297230                slideSizer.Add(refDispl,0,WACV)
    72307231                idsp += 1
    7231             slideSizer.SetMinSize(wx.Size(350,10))
     7232            slideSizer.SetMinSize(wx.Size(450,10))
    72327233            topSizer.Add(slideSizer)
    72337234            mainSizer.Add(topSizer)
     
    1089110892        newA = []
    1089210893        Dijdict = dict(zip(G2spc.HStrainNames(SGData),DijVals))
    10893         for Aij,lbl in zip(G2lat.cell2A(data['General']['Cell'][1:7]),
    10894                             ['D11','D22','D33','D12','D13','D23']):
     10894        for Aij,lbl in zip(G2lat.cell2A(data['General']['Cell'][1:7]),['D11','D22','D33','D12','D13','D23']):
    1089510895            newA.append(Aij + Dijdict.get(lbl,0.0))
    1089610896        # convert back to direct cell
Note: See TracChangeset for help on using the changeset viewer.