- Timestamp:
- Feb 23, 2021 3:34:12 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIlattice.py
r4818 r4826 842 842 ''' convert powder pattern position (2-theta or TOF, musec) to d-spacing 843 843 ''' 844 if 'T' in Inst['Type'][0] or 'PKS' in Inst['Type'][0]:844 if 'T' in Inst['Type'][0]: 845 845 return TOF2dsp(Inst,pos) 846 else: #' C' or 'B'846 else: #'PKS', 'C' or 'B' 847 847 wave = G2mth.getWave(Inst) 848 848 return wave/(2.0*sind((pos-Inst.get('Zero',[0,0])[1])/2.0)) -
trunk/GSASIIplot.py
r4820 r4826 4831 4831 Xmax = np.amax(XYlist.T[0]) 4832 4832 dx = 0.02*(Xmax-Xmin) 4833 Ymin = np.amin(XYlist.T[1] )4834 Ymax = np.amax(XYlist.T[1] )4833 Ymin = np.amin(XYlist.T[1][1:]) 4834 Ymax = np.amax(XYlist.T[1][1:]) 4835 4835 dy = 0.02*(Ymax-Ymin) 4836 4836 try: -
trunk/GSASIIpwdGUI.py
r4819 r4826 7118 7118 typeHint=float,OnLeave=AfterChange) 7119 7119 geoBox.Add(pack,0) 7120 geoBox.Add(wx.StaticText(G2frame.dataWindow,label=' Sample transmission: %.3f %%'%( Trans)),0,WACV)7120 geoBox.Add(wx.StaticText(G2frame.dataWindow,label=' Sample transmission: %.3f %%'%(100.*Trans)),0,WACV) 7121 7121 sampleSizer.Add(geoBox,0) 7122 7122 return sampleSizer
Note: See TracChangeset
for help on using the changeset viewer.