IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28006 for trunk/psphot


Ignore:
Timestamp:
May 18, 2010, 2:34:09 PM (16 years ago)
Author:
eugene
Message:

merging changes from PAP branch with modifications to the covariance matrix calculation

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/psphot

    • Property svn:mergeinfo deleted
  • trunk/psphot/src/psphotEfficiency.c

    r27657 r28006  
    7373    psTrace("psphot.fake", 1, "Limiting flux: %f\n", fluxLim);
    7474    psTrace("psphot.fake", 1, "Limiting mag: %f\n", *magLim);
     75    psLogMsg("psphot", PS_LOG_INFO,
     76             "Detection efficiency:\n"
     77             "  Mean variance: %f * %f\n"
     78             "  Threshold: %f\n"
     79             "  Normalisation: %f\n"
     80             "  Limiting magnitude: %f\n",
     81             meanVar, *covarFactor, thresh, *norm, *magLim);
    7582
    7683    *radius = smoothSigma * smoothNsigma;
     
    166173    // loop over the available readouts
    167174    for (int i = 0; i < num; i++) {
    168         if (i == chisqNum) continue; // skip chisq image
    169         if (!psphotEfficiencyReadout (config, view, "PSPHOT.INPUT", i, recipe)) {
     175        if (i == chisqNum) continue; // skip chisq image
     176        if (!psphotEfficiencyReadout (config, view, "PSPHOT.INPUT", i, recipe)) {
    170177            psError (PSPHOT_ERR_CONFIG, false, "failed to measure detection efficiency for PSPHOT.INPUT entry %d", i);
    171             return false;
    172         }
     178            return false;
     179        }
    173180    }
    174181    return true;
Note: See TracChangeset for help on using the changeset viewer.