IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 18, 2008, 9:38:38 AM (18 years ago)
Author:
Paul Price
Message:

For the update system, can't change the type of what's on the recipe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackMatch.c

    r19548 r19599  
    7272    bool mdok;                          // Status of MD lookup
    7373    bool renorm = psMetadataLookupBool(&mdok, recipe, "RENORM"); // Renormalise variances?
    74     psStatsOptions renormMean = psMetadataLookupS32(&mdok, recipe, "RENORM.MEAN"); // Statistic for mean
    75     psStatsOptions renormStdev = psMetadataLookupS32(&mdok, recipe, "RENORM.STDEV"); // Statistic for stdev
    76     int renormWidth = psMetadataLookupS32(&mdok, recipe, "RENORM.WIDTH"); // Width for renormalisation box
    7774    float penalty = psMetadataLookupF32(NULL, ppsub, "PENALTY"); // Penalty for wideness
    7875    int threads = psMetadataLookupS32(NULL, config->arguments, "-threads"); // Number of threads
     
    364361    // Renormalise the variances if desired
    365362    if (renorm) {
     363        // Statistics for renormalisation
     364        psStatsOptions renormMean = psStatsOptionFromString(psMetadataLookupStr(&mdok, recipe,
     365                                                                                "RENORM.MEAN"));
     366        psStatsOptions renormStdev = psStatsOptionFromString(psMetadataLookupS32(&mdok, recipe,
     367                                                                                 "RENORM.STDEV"));
     368        int renormWidth = psMetadataLookupS32(&mdok, recipe, "RENORM.WIDTH"); // Width for renormalisation box
     369
    366370        psLogMsg("ppStack", PS_LOG_INFO, "Renormalising variance map.");
    367371        if (!pmReadoutWeightRenorm(readout, maskBad, renormMean, renormStdev, renormWidth, rng)) {
Note: See TracChangeset for help on using the changeset viewer.