IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 1, 2006, 2:31:28 PM (20 years ago)
Author:
Paul Price
Message:

Fixing up trace components.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeScaleZero.c

    r9737 r9824  
    116116                        fromConcepts = true;
    117117                        (*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);
    119119                    } else if (!first && fromConcepts) {
    120120                        psLogMsg(__func__, PS_LOG_WARN, "PPMERGE.SCALE and PPMERGE.ZERO have been set "
     
    137137                        fromConcepts = true;
    138138                        (*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);
    140140                    } else if (!first && fromConcepts) {
    141141                        psLogMsg(__func__, PS_LOG_WARN, "PPMERGE.SCALE and PPMERGE.ZERO have been set "
     
    175175            continue;
    176176        }
    177         psTrace(__func__, 9, "Opening %s to get background...\n", name);
     177        psTrace("ppMerge", 9, "Opening %s to get background...\n", name);
    178178        psFits *inFile = data->files->data[i]; // The FITS file to read
    179179        pmFPA *fpa = data->in->data[i]; // The FPA for this input
     
    263263                    psFree(sampleMask);
    264264                    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,
    266266                            background->data.F32[i][cellNum]);
    267267                }
     
    279279        if (psTraceGetLevel("ppMerge") > 9) {
    280280            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]);
    282282            }
    283283        }
     
    322322        for (int i = 0; i < scalesDeref->numRows; i++) {
    323323            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,
    325325                        scalesDeref->data.F32[i][j]);
    326326            }
     
    331331        for (int i = 0; i < zerosDeref->numRows; i++) {
    332332            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,
    334334                        zerosDeref->data.F32[i][j]);
    335335            }
Note: See TracChangeset for help on using the changeset viewer.