Changeset 8246 for trunk/psModules/src/camera/pmFPAConstruct.c
- Timestamp:
- Aug 8, 2006, 4:37:08 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAConstruct.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAConstruct.c
r7719 r8246 244 244 } 245 245 246 psTrace( __func__, 5, "Looking up %s in the CONTENTS.\n", contentKey);246 psTrace("psModules.camera", 5, "Looking up %s in the CONTENTS.\n", contentKey); 247 247 const char *content = psMetadataLookupStr(&mdok, contents, contentKey); 248 248 if (!mdok || !content || strlen(content) == 0) { … … 593 593 // Need to look up what chip we have. 594 594 psString chipName = phuNameFromHeader("CHIP.NAME", fileInfo, header); 595 psTrace( __func__, 5, "This is chip %s\n", chipName);595 psTrace("psModules.camera", 5, "This is chip %s\n", chipName); 596 596 int chipNum = pmFPAFindChip(fpa, chipName); // Chip number 597 597 if (chipNum == -1) { … … 794 794 PS_ASSERT_PTR_NON_NULL(fpa,); 795 795 796 psTrace( __func__, 1, "FPA:\n");796 psTrace("psModules.camera", 1, "FPA:\n"); 797 797 if (fpa->hdu) { 798 798 pmHDUPrint(fd, fpa->hdu, 2, header); … … 805 805 // Iterate over the FPA 806 806 for (int i = 0; i < chips->n; i++) { 807 psTrace( __func__, 3, "Chip: %d\n", i);807 psTrace("psModules.camera", 3, "Chip: %d\n", i); 808 808 pmChip *chip = chips->data[i]; // The chip 809 809 if (chip->hdu) { … … 817 817 psArray *cells = chip->cells; // Array of cells 818 818 for (int j = 0; j < cells->n; j++) { 819 psTrace( __func__, 5, "Cell: %d\n", j);819 psTrace("psModules.camera", 5, "Cell: %d\n", j); 820 820 pmCell *cell = cells->data[j]; // The cell 821 821 if (cell->hdu) { … … 829 829 for (int k = 0; k < readouts->n; k++) { 830 830 pmReadout *readout = readouts->data[k]; // The readout 831 psTrace( __func__, 6, "Readout %d:\n", k);832 psTrace( __func__, 7, "row0: %d\n", readout->row0);833 psTrace( __func__, 7, "col0: %d\n", readout->col0);831 psTrace("psModules.camera", 6, "Readout %d:\n", k); 832 psTrace("psModules.camera", 7, "row0: %d\n", readout->row0); 833 psTrace("psModules.camera", 7, "col0: %d\n", readout->col0); 834 834 psImage *image = readout->image; // The image 835 835 psList *bias = readout->bias; // The list of bias images 836 836 if (image) { 837 psTrace( __func__, 7, "Image: [%d:%d,%d:%d] (%dx%d)\n", image->col0, image->col0 +837 psTrace("psModules.camera", 7, "Image: [%d:%d,%d:%d] (%dx%d)\n", image->col0, image->col0 + 838 838 image->numCols, image->row0, image->row0 + image->numRows, image->numCols, 839 839 image->numRows); … … 843 843 psImage *biasImage = NULL; // Bias image from iteration 844 844 while ((biasImage = psListGetAndIncrement(biasIter))) { 845 psTrace( __func__, 7, "Bias: [%d:%d,%d:%d] (%dx%d)\n", biasImage->col0,845 psTrace("psModules.camera", 7, "Bias: [%d:%d,%d:%d] (%dx%d)\n", biasImage->col0, 846 846 biasImage->col0 + biasImage->numCols, biasImage->row0, 847 847 biasImage->row0 + biasImage->numRows, biasImage->numCols, biasImage->numRows);
Note:
See TracChangeset
for help on using the changeset viewer.
