Changeset 2824
- Timestamp:
- May 10, 2017 9:14:10 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIimage.py
r2823 r2824 1054 1054 dmin = np.min(ring['ImtaCalc'][0]) 1055 1055 dmax = np.max(ring['ImtaCalc'][0]) 1056 if notring.get('fixDset',True):1056 if ring.get('fixDset',True): 1057 1057 if abs(Eij[0]) < abs(Eij[2]): #tension 1058 1058 ring['Dcalc'] = dmin+(dmax-dmin)/4. 1059 1059 else: #compression 1060 1060 ring['Dcalc'] = dmin+3.*(dmax-dmin)/4. 1061 else: 1062 ring['Dcalc'] = np.mean(ring['ImtaCalc'][0]) 1061 1063 1062 1064 def calcFij(omg,phi,azm,th): -
trunk/GSASIIimgGUI.py
r2823 r2824 1758 1758 def OnAppendDzero(event): 1759 1759 data['d-zero'].append({'Dset':1.0,'Dcalc':0.0,'pixLimit':10,'cutoff':1.0, 1760 'ImxyObs':[[],[]],'ImtaObs':[[],[]],'ImtaCalc':[[],[]],'Emat':[1.0,1.0,1.0],'fixDset': True})1760 'ImxyObs':[[],[]],'ImtaObs':[[],[]],'ImtaCalc':[[],[]],'Emat':[1.0,1.0,1.0],'fixDset':False}) 1761 1761 UpdateStressStrain(G2frame,data) 1762 1762 … … 2110 2110 dzeroSizer.Add(dZero,0,WACV) 2111 2111 Indx[dZero.GetId()] = id 2112 dfix = wx.CheckBox(G2frame.dataDisplay,label=' Hold?')2113 dfix.SetValue(dzero.get('fixDset', True))2112 dfix = wx.CheckBox(G2frame.dataDisplay,label='Use Poisson mean?') 2113 dfix.SetValue(dzero.get('fixDset',False)) 2114 2114 dfix.Bind(wx.EVT_CHECKBOX,OnFixDset) 2115 2115 Indx[dfix.GetId()] = id -
trunk/GSASIIstrMain.py
r2721 r2824 127 127 return IfOK,Rvals,result,covMatrix,sig 128 128 129 def Refine(GPXfile,dlg ):129 def Refine(GPXfile,dlg=None): 130 130 'Global refinement -- refines to minimize against all histograms' 131 131 import pytexture as ptx -
trunk/imports/G2pwd_fxye.py
r2820 r2824 48 48 if line[0] == '#': continue 49 49 if line[:4] == 'BANK': 50 self.dnames.append(fname+' '+' '.join(line.split()[:2]))50 self.dnames.append(fname+' '+' '.join(line.split()[:2])) 51 51 nBanks += 1 52 52 continue
Note: See TracChangeset
for help on using the changeset viewer.