Changeset 450
- Timestamp:
- Jan 9, 2012 1:01:20 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIIO.py
r432 r450 768 768 print 'Read MAR CCD tiff file: ',filename 769 769 image = np.array(ar.array('H',File.read(2*Npix)),dtype=np.int32) 770 elif sizexy == [4096,4096]: 771 if IFD[273][2][0] == 8: 772 if IFD[258][2][0] == 16: 773 tifType = 'scanCCD' 774 pixy = (9,9) 775 File.seek(8) 776 if not imageOnly: 777 print 'Read APS scanCCD tiff file: ',filename 778 image = np.array(ar.array('H',File.read(2*Npix)),dtype=np.int32) 770 779 # elif sizexy == [960,960]: 771 780 # tiftype = 'PE-BE' -
trunk/GSASIIimgGUI.py
r442 r450 633 633 comboSizer.Add(wx.StaticText(parent=self.dataDisplay,label=' Calib lines to skip '),0, 634 634 wx.ALIGN_CENTER_VERTICAL) 635 calibSkip = wx.ComboBox(parent=self.dataDisplay,value=str(data['calibskip']),choices=[ '0','1','2','3','4','5','6','7','8','9','10'],635 calibSkip = wx.ComboBox(parent=self.dataDisplay,value=str(data['calibskip']),choices=[str(i) for i in range(25)], 636 636 style=wx.CB_READONLY|wx.CB_DROPDOWN) 637 637 calibSkip.Bind(wx.EVT_COMBOBOX, OnCalibSkip) -
trunk/GSASIIplot.py
r449 r450 1905 1905 Imin,Imax = [np.amin(A),np.amax(A)] 1906 1906 ImgM = Plot.imshow(AM,aspect='equal',cmap='Reds', 1907 interpolation='nearest',vmin=0,vmax=2,extent=[0,Xmax, Xmax,0])1907 interpolation='nearest',vmin=0,vmax=2,extent=[0,Xmax,Ymax,0]) 1908 1908 Img = Plot.imshow(A,aspect='equal',cmap=acolor, 1909 1909 interpolation='nearest',vmin=Imin,vmax=Imax,extent=[0,Xmax,Ymax,0]) -
trunk/GSASIItestplot.py
r308 r450 29 29 self.SetSizer(sizer) 30 30 31 def Show(self): 32 self.frame.Show() 33 31 34 def StartEventLoop(self): 32 self. frame.Show()35 self.Show() 33 36 self.app.MainLoop() 34 37 -
trunk/fsource/histogram2d.for
r274 r450 21 21 22 22 IMPLICIT NONE 23 INTEGER* 4N23 INTEGER*8 N 24 24 REAL*4 X(0:N-1),Y(0:N-1),Z(0:N-1) 25 25 INTEGER*8 NXBINS,NYBINS … … 33 33 I = INT((X(K)-XLIM(0))/DX) 34 34 J = INT((Y(K)-YLIM(0))/DY) 35 C if ( j.ge.500 ) 36 C 1 print *,k,x(k),y(k),i,j,xlim(0),dx,ylim(0),dy,nxbins,nybins 35 37 IF ( (I .GE. 0 .AND. I .LT. NXBINS) .AND. 36 38 1 (J .GE. 0 .AND. J .LT. NYBINS) ) THEN 39 C if ( j.ge.500 ) 40 C 1 print *,i,j,nst(i,j),hst(i,j),z(k) 37 41 NST(I,J) = NST(I,J)+1.0 38 42 HST(I,J) = HST(I,J)+Z(K)
Note: See TracChangeset
for help on using the changeset viewer.