IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Use names instead of numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.