Changeset 13402 for fact/tools/pyscripts/pyfact/coor.py
- Timestamp:
- 04/21/12 09:22:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/pyfact/coor.py
r13391 r13402 28 28 29 29 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) 31 35 32 36 # this list will contain vectors pointing to the center of pixel … … 154 158 raise IOError('not able to find file: '+inpath) 155 159 156 157 if __name__ == '__main__':158 co = Coordinator()159
Note:
See TracChangeset
for help on using the changeset viewer.