IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26819


Ignore:
Timestamp:
Feb 8, 2010, 5:44:02 PM (16 years ago)
Author:
Paul Price
Message:

Use names instead of numbers.

Location:
branches/eam_branches/20091201
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ppImage/src/ppImageDetrendPattern.c

    r26817 r26819  
    9191            }
    9292            if (doPattern) {
    93                 const char *chipName = psMetadataLookupStr(NULL, chip->concepts, "CHIP.NAME");
    94                 const char *cellName = psMetadataLookupStr(NULL, cell->concepts, "CELL.NAME");
    95                 psLogMsg("ppImage", PS_LOG_INFO, "Performing cell pattern correction for %s, %s\n",
    96                          chipName, cellName);
    9793                tweak->data.U8[i] = 0xFF;
    9894            }
  • branches/eam_branches/20091201/psModules/src/detrend/pmPattern.c

    r26776 r26819  
    258258        }
    259259        float correction = background - mean->data.F32[i]; // Correction to apply
    260         psLogMsg("psModules.detrend", PS_LOG_DETAIL, "Correcting background of cell %d by %f", i, correction);
     260        const char *cellName = psMetadataLookupStr(NULL, cell->concepts, "CELL.NAME"); // Name of cell
     261        psLogMsg("psModules.detrend", PS_LOG_DETAIL, "Correcting background of cell %s by %f",
     262                 cellName, correction);
    261263        psBinaryOp(ro->image, ro->image, "+", psScalarAlloc(correction, PS_TYPE_F32));
    262264    }
Note: See TracChangeset for help on using the changeset viewer.