Changeset 3837
- Timestamp:
- May 4, 2005, 11:17:54 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/pois/python/pois.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pois/python/pois.py
r3813 r3837 157 157 # Read inputs 158 158 imageRegion = psLib.psRegionAlloc(0, 0, 0, 0) 159 reference = psLib.psFitsAlloc(config.refFile) 160 refImage = psLib.psFitsReadImage(None, reference, imageRegion, 0) 161 159 160 fd = psLib.psFitsAlloc(config.refFile) 161 refImage = psLib.psFitsReadImage(None, fd, imageRegion, 0) 162 del fd 162 163 psTrace("pois", 3, ("Read %s: %dx%d\n" % (config.refFile, refImage.numCols, refImage.numRows))) 163 del reference 164 165 input = psLib.psFitsAlloc(config.inFile) 166 #inHeader = psLib.psFitsReadHeader(None, input) 167 inImage = psLib.psFitsReadImage(None, input, imageRegion, 0) 164 165 fd = psLib.psFitsAlloc(config.inFile) 166 inImage = psLib.psFitsReadImage(None, fd, imageRegion, 0) 167 del fd 168 168 psTrace("pois", 3, ("Read %s: %dx%d\n" % (config.inFile, inImage.numCols, inImage.numRows))) 169 del input; del imageRegion 169 170 del imageRegion 170 171 171 172 if section:
Note:
See TracChangeset
for help on using the changeset viewer.
