Changeset 267 for trunk/GSASIIplot.py
- Timestamp:
- Apr 20, 2011 1:09:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIplot.py
r265 r267 1163 1163 Page.canvas.SetToolTipString('') 1164 1164 sizexy = Data['size'] 1165 azmRot = 0.1166 if Data['fullIntegrate']:1167 azmRot = Data['azmthRotate']1168 1165 if event.xdata and event.ydata: #avoid out of frame errors 1169 1166 Page.canvas.SetCursor(wx.CROSS_CURSOR) … … 1181 1178 tth,azm = G2img.GetTthAzm(event.xdata,event.ydata,Data) 1182 1179 if 'line3' in str(item) or 'line4' in str(item) and not Data['fullIntegrate']: 1183 Page.canvas.SetToolTipString('%6d deg'%(azm -azmRot))1180 Page.canvas.SetToolTipString('%6d deg'%(azm)) 1184 1181 elif 'line1' in str(item) or 'line2' in str(item): 1185 1182 Page.canvas.SetToolTipString('%8.3fdeg'%(tth)) … … 1198 1195 else: 1199 1196 self.G2plotNB.status.SetFields(\ 1200 ['','Detector 2-th =%9.3fdeg, dsp =%9.3fA, Q = %6.5fA-1, azm = %7.2fdeg, I = %6d'%(tth,dsp,Q,azm -azmRot,Int)])1197 ['','Detector 2-th =%9.3fdeg, dsp =%9.3fA, Q = %6.5fA-1, azm = %7.2fdeg, I = %6d'%(tth,dsp,Q,azm,Int)]) 1201 1198 1202 1199 def OnImPlotKeyPress(event): … … 1494 1491 if Data['fullIntegrate']: 1495 1492 Azm = np.array(range(0,361)) 1496 AzmRot = Data['azmthRotate']1497 1493 else: 1498 1494 Azm = np.array(range(LRAzim[0],LRAzim[1]+1))-AzmthOff 1499 AzmRot = 0.01500 1495 if ellI: 1501 1496 xyI = [] … … 1517 1512 if Nazm > 1: 1518 1513 for i in range(Nazm): 1519 cake = (LRAzim[0]+i*delAzm+AzmRot+720)%360 1514 if Data['fullIntegrate']: 1515 cake = (LRAzim[0]+i*delAzm+720)%360 1516 else: 1517 cake = LRAzim[0]+i*delAzm 1520 1518 ind = np.searchsorted(Azm,cake) 1521 1519 Plot.plot([arcxI[ind],arcxO[ind]],[arcyI[ind],arcyO[ind]],color='k',dashes=(5,5))
Note: See TracChangeset
for help on using the changeset viewer.