Ignore:
Timestamp:
04/21/12 09:22:28 (13 years ago)
Author:
neise
Message:
coordinator has now the x,y coordinates as members x and y
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/coor.py

    r13391 r13402  
    2828
    2929        chid, xe, ye = np.loadtxt(map_file_path, unpack=True)
    30         coors = zip(xe,ye,chid)
     30        # -ye in order to correct for the sign difference between my mapping file
     31        # and FACTmap111030.txt
     32        self.x = xe
     33        self.y = ye
     34        coors = zip(xe,-ye,chid)
    3135       
    3236        # this list will contain vectors pointing to the center of pixel
     
    154158            raise IOError('not able to find file: '+inpath)
    155159
    156 
    157 if __name__ == '__main__':
    158     co = Coordinator()
    159    
Note: See TracChangeset for help on using the changeset viewer.