Changeset 38 for trunk/GSASIIcomp.py


Ignore:
Timestamp:
Mar 7, 2010 9:02:24 AM (13 years ago)
Author:
vondreel
Message:

convert to python 2.6 from Enthought
small fixes to plotting ellipses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIcomp.py

    r36 r38  
    13161316    elcent = [cent[0]-zdis*sinp,cent[1]+zdis*cosp]
    13171317    return elcent,phi,radii
     1318   
     1319def ImageCompress(image,scale):
     1320    if scale == 1:
     1321        return image
     1322    else:
     1323        return image[::scale,::scale]
    13181324       
    13191325def ImageCalibrate(self,data):
Note: See TracChangeset for help on using the changeset viewer.