Changeset 3496
- Timestamp:
- Jul 21, 2018 10:34:41 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIindex.py
r3357 r3496 386 386 if dp > dm: pos += 1 # closer to upper than lower 387 387 if pos >= N: 388 print ('%.4f %d'%(pos,N))388 # print ('%.4f %d'%(pos,N)) 389 389 break 390 390 hkl = HKL[pos] # put in hkl -
trunk/GSASIIphsGUI.py
r3474 r3496 455 455 mainSizer.Add(MatSizer) 456 456 if self.ifMag: 457 Mtrans = wx.CheckBox(self.panel,label=' M from Bilbao routine MAXMAGN? Use transform')457 Mtrans = wx.CheckBox(self.panel,label=' M from Bilbao routine MAXMAGN? Use matrix transform') 458 458 Mtrans.SetValue(self.Mtrans) 459 459 Mtrans.Bind(wx.EVT_CHECKBOX,OnMtrans) -
trunk/GSASIIplot.py
r3474 r3496 2562 2562 # xye0 = ma.masked_outside(xye0,limits[0],limits[1],copy=False) 2563 2563 for excl in excls: 2564 xye0 = ma.masked_inside(xye 0,excl[0],excl[1],copy=False) #excluded region mask2564 xye0 = ma.masked_inside(xye[0],excl[0],excl[1],copy=False) #excluded region mask 2565 2565 # Pattern[1][0] = ma.array(Pattern[1][0],mask=ma.getmask(xye0)) #save the excluded region masking 2566 2566 if not G2frame.Contour: 2567 xye0 = ma.masked_outside(xye 0,limits[1][0],limits[1][1],copy=False) #now mask for limits2567 xye0 = ma.masked_outside(xye[0],limits[1][0],limits[1][1],copy=False) #now mask for limits 2568 2568 if Page.plotStyle['qPlot'] and 'PWDR' in plottype: 2569 2569 X = 2.*np.pi/G2lat.Pos2dsp(Parms,xye0) -
trunk/GSASIIpwd.py
r3444 r3496 1798 1798 if oneCycle: 1799 1799 Ftol = 1.0 1800 x,y,w,yc,yb,yd = data #these are numpy arrays!1800 x,y,w,yc,yb,yd = ma.getdata(data) #these are numpy arrays - remove masks! 1801 1801 yc *= 0. #set calcd ones to zero 1802 1802 yb *= 0. -
trunk/GSASIIpwdGUI.py
r3477 r3496 1373 1373 if invalid: return 1374 1374 plottype = G2frame.GPXtree.GetItemText(G2frame.PatternId)[:4] 1375 # print 'new plot'1376 1375 wx.CallAfter(G2plt.PlotPatterns,G2frame,newPlot=False,plotType=plottype) #unfortunately this resets the plot width 1377 1376 -
trunk/exports/G2export_CIF.py
r3491 r3496 1248 1248 parentSpGrp = parentSpGrp[0].upper() + parentSpGrp[1:].lower().rstrip('rh ') 1249 1249 WriteCIFitem(self.fp, '_parent_space_group.name_H-M_alt',parentSpGrp) 1250 # [Trans,Uvec,Vvec] = phasedict['General']['SGData']['fromParent'] #save these 1250 1251 spacegroup = phasedict['General']['SGData']['MagSpGrp'].strip() 1251 1252 spacegroup = spacegroup[0].upper() + spacegroup[1:].lower().rstrip('rh ')
Note: See TracChangeset
for help on using the changeset viewer.