Changeset 9824 for trunk/ppMerge/src/ppMergeScaleZero.c
- Timestamp:
- Nov 1, 2006, 2:31:28 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeScaleZero.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeScaleZero.c
r9737 r9824 116 116 fromConcepts = true; 117 117 (*scales)->data.F32[i][cellNum] = scale; 118 psTrace( __func__, 9, "Scale for input %ld, chip %ld, cell %ld: %f\n", i, j, k, scale);118 psTrace("ppMerge", 9, "Scale for input %ld, chip %ld, cell %ld: %f\n", i, j, k, scale); 119 119 } else if (!first && fromConcepts) { 120 120 psLogMsg(__func__, PS_LOG_WARN, "PPMERGE.SCALE and PPMERGE.ZERO have been set " … … 137 137 fromConcepts = true; 138 138 (*zeros)->data.F32[i][cellNum] = zero; 139 psTrace( __func__, 9, "Zero for input %ld, chip %ld, cell %ld: %f\n", i, j, k, zero);139 psTrace("ppMerge", 9, "Zero for input %ld, chip %ld, cell %ld: %f\n", i, j, k, zero); 140 140 } else if (!first && fromConcepts) { 141 141 psLogMsg(__func__, PS_LOG_WARN, "PPMERGE.SCALE and PPMERGE.ZERO have been set " … … 175 175 continue; 176 176 } 177 psTrace( __func__, 9, "Opening %s to get background...\n", name);177 psTrace("ppMerge", 9, "Opening %s to get background...\n", name); 178 178 psFits *inFile = data->files->data[i]; // The FITS file to read 179 179 pmFPA *fpa = data->in->data[i]; // The FPA for this input … … 263 263 psFree(sampleMask); 264 264 background->data.F32[i][cellNum] = getStat(bgStats, options->mean); 265 psTrace( __func__, 3, "Background for %s, cell %d is %f\n", name, cellNum,265 psTrace("ppMerge", 3, "Background for %s, cell %d is %f\n", name, cellNum, 266 266 background->data.F32[i][cellNum]); 267 267 } … … 279 279 if (psTraceGetLevel("ppMerge") > 9) { 280 280 for (int i = 0; i < gains->n; i++) { 281 psTrace( __func__, 10, "Gain for cell %d is %f\n", i, gains->data.F32[i]);281 psTrace("ppMerge", 10, "Gain for cell %d is %f\n", i, gains->data.F32[i]); 282 282 } 283 283 } … … 322 322 for (int i = 0; i < scalesDeref->numRows; i++) { 323 323 for (int j = 0; j < scalesDeref->numCols; j++) { 324 psTrace( __func__, 9, "Scale for exposure %d, cell %d is: %f\n", i, j,324 psTrace("ppMerge", 9, "Scale for exposure %d, cell %d is: %f\n", i, j, 325 325 scalesDeref->data.F32[i][j]); 326 326 } … … 331 331 for (int i = 0; i < zerosDeref->numRows; i++) { 332 332 for (int j = 0; j < zerosDeref->numCols; j++) { 333 psTrace( __func__, 9, "Zero for exposure %d, cell %d is: %f\n", i, j,333 psTrace("ppMerge", 9, "Zero for exposure %d, cell %d is: %f\n", i, j, 334 334 zerosDeref->data.F32[i][j]); 335 335 }
Note:
See TracChangeset
for help on using the changeset viewer.
