Changeset 8246 for trunk/psModules/src/camera/pmFPARead.c
- Timestamp:
- Aug 8, 2006, 4:37:08 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPARead.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPARead.c
r7923 r8246 126 126 } 127 127 128 psTrace( __func__, 5, "Reading section [%.0f:%.0f,%.0f:%.0f]\n",128 psTrace("psModules.camera", 5, "Reading section [%.0f:%.0f,%.0f:%.0f]\n", 129 129 toRead.x0, toRead.x1, toRead.y0, toRead.y1); 130 130 psImage *image = psFitsReadImage(fits, toRead, z); // Desired pixels 131 psTrace( __func__, 7, "Image is %dx%d\n", image->numCols, image->numRows);131 psTrace("psModules.camera", 7, "Image is %dx%d\n", image->numCols, image->numRows); 132 132 133 133 // XXX: We only support F32 for now … … 140 140 if (resize) { 141 141 // For some reason, the region of interest is smaller than the number of pixels we want. 142 psTrace( __func__, 5, "Resizing image to %.0fx%.0f\n",142 psTrace("psModules.camera", 5, "Resizing image to %.0fx%.0f\n", 143 143 fullSize.x1 - fullSize.x0, fullSize.y1 - fullSize.y0); 144 144 psImage *temp = psImageAlloc(fullSize.x1 - fullSize.x0, fullSize.y1 - fullSize.y0, image->type.type); … … 286 286 if (offset >= maxSize) { 287 287 // We've read everything there is 288 psTrace( __func__, 7, "Read everything.\n");288 psTrace("psModules.camera", 7, "Read everything.\n"); 289 289 psFree(readout->image); 290 290 return false; 291 291 } 292 292 int upper = PS_MIN(offset + numScans, maxSize); // The upper limit for the pixel read 293 psTrace( __func__, 7, "offset=%d, upper = %d, image is %dx%d, trimsec [%.0f:%.0f,%.0f:%.0f]\n",293 psTrace("psModules.camera", 7, "offset=%d, upper = %d, image is %dx%d, trimsec [%.0f:%.0f,%.0f:%.0f]\n", 294 294 offset, upper, naxis1, naxis2, trimsec->x0, trimsec->x1, trimsec->y0, trimsec->y1); 295 295
Note:
See TracChangeset
for help on using the changeset viewer.
