Changeset 450


Ignore:
Timestamp:
Jan 9, 2012 1:01:20 PM (12 years ago)
Author:
vondreele
Message:
 
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r432 r450  
    768768                print 'Read MAR CCD tiff file: ',filename
    769769            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)
    770779#    elif sizexy == [960,960]:
    771780#        tiftype = 'PE-BE'
  • trunk/GSASIIimgGUI.py

    r442 r450  
    633633    comboSizer.Add(wx.StaticText(parent=self.dataDisplay,label=' Calib lines to skip   '),0,
    634634        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)],
    636636        style=wx.CB_READONLY|wx.CB_DROPDOWN)
    637637    calibSkip.Bind(wx.EVT_COMBOBOX, OnCalibSkip)
  • trunk/GSASIIplot.py

    r449 r450  
    19051905                Imin,Imax = [np.amin(A),np.amax(A)]
    19061906            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])
    19081908            Img = Plot.imshow(A,aspect='equal',cmap=acolor,
    19091909                interpolation='nearest',vmin=Imin,vmax=Imax,extent=[0,Xmax,Ymax,0])
  • trunk/GSASIItestplot.py

    r308 r450  
    2929        self.SetSizer(sizer)
    3030
     31    def Show(self):
     32        self.frame.Show()
     33
    3134    def StartEventLoop(self):
    32         self.frame.Show()
     35        self.Show()
    3336        self.app.MainLoop()
    3437
  • trunk/fsource/histogram2d.for

    r274 r450  
    2121
    2222      IMPLICIT NONE
    23       INTEGER*4   N
     23      INTEGER*8   N
    2424      REAL*4      X(0:N-1),Y(0:N-1),Z(0:N-1)
    2525      INTEGER*8   NXBINS,NYBINS
     
    3333        I = INT((X(K)-XLIM(0))/DX)
    3434        J = INT((Y(K)-YLIM(0))/DY)
     35C        if ( j.ge.500 )
     36C     1    print *,k,x(k),y(k),i,j,xlim(0),dx,ylim(0),dy,nxbins,nybins
    3537        IF ( (I .GE. 0 .AND. I .LT. NXBINS) .AND.
    3638     1     (J .GE. 0 .AND. J .LT. NYBINS) ) THEN
     39C          if ( j.ge.500 )
     40C     1      print *,i,j,nst(i,j),hst(i,j),z(k)
    3741          NST(I,J) = NST(I,J)+1.0
    3842          HST(I,J) = HST(I,J)+Z(K)
Note: See TracChangeset for help on using the changeset viewer.