Changeset 4142
- Timestamp:
- Sep 10, 2019 3:15:35 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIpwd.py
r4102 r4142 2347 2347 Ic[:] = 0 2348 2348 Scale = data['Scale'][0] 2349 if data['Layer Seq'] == []: 2350 return 2349 2351 laySeq = ['0',]+data['Layer Seq'].split()+[str(len(data['Layers'])-1),] 2350 2352 Nlayers = len(laySeq) -
trunk/GSASIIpwdGUI.py
r4135 r4142 6160 6160 ModelPlot(data,x,xr,y) 6161 6161 G2plt.PlotPatterns(G2frame,plotType='REFD') 6162 wx.Call Later(100,UpdateREFDModelsGrid,G2frame,data)6162 wx.CallAfter(UpdateREFDModelsGrid,G2frame,data) 6163 6163 6164 6164 def OnModelPlot(event): -
trunk/imports/G2rfd_Panalytical.py
r4141 r4142 14 14 import GSASIIobj as G2obj 15 15 import GSASIIpath 16 sind = lambda x: np.sin(x*np.pi/180.) 16 17 GSASIIpath.SetVersionNumber("$Revision: $") 17 18 class Panalytical_ReaderClass(G2obj.ImportReflectometryData): … … 106 107 print('Panalytical read error: Intensities could not be located') 107 108 return False 108 self.instdict['wave'] = wave109 self.instdict['wave'] = float(wave.find(tag+'kAlpha1').text) 109 110 self.instdict['type'] = 'RXC' 110 111 self.reflectometryentry[0] = filename … … 112 113 N = y.shape[0] 113 114 x = np.linspace(startPos,endPos,N) 115 x = 4.*np.pi*sind(x/2.)/self.instdict['wave'] 114 116 w = np.where(y>0,1./y,1.) 115 117 self.reflectometrydata = [
Note: See TracChangeset
for help on using the changeset viewer.