IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 5:13:31 PM (20 years ago)
Author:
eugene
Message:

fixes to psTrace name spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotSourceFits.c

    r9270 r9576  
    1212        return status;
    1313    }
    14     psTrace ("psphot.blend", 5, "trying blend...\n");
     14    psTrace ("psphot", 5, "trying blend...\n");
    1515
    1616    // save the PSF model from the Ensemble fit
     
    7979        // if this one failed, skip it
    8080        if (!psphotEvalPSF (blend, model)) {
    81             psTrace ("psphot.blend", 5, "failed on blend %d of %ld\n", i, modelSet->n);
     81            psTrace ("psphot", 5, "failed on blend %d of %ld\n", i, modelSet->n);
    8282            continue;
    8383        }
     
    8686        psFree(blend->modelPSF);
    8787        blend->modelPSF = psMemIncrRefCounter (model);
    88         psTrace ("psphot.blend", 5, "fitted blend as PSF\n");
     88        psTrace ("psphot", 5, "fitted blend as PSF\n");
    8989        pmModelSub (source->pixels, source->mask, model, false, false);
    9090        blend->mode |=  PM_SOURCE_MODE_SUBTRACTED;
     
    9696    // evaluate the primary object
    9797    if (!psphotEvalPSF (source, PSF)) {
    98         psTrace ("psphot.blend", 5, "failed on blend 0 of %ld\n", modelSet->n);
     98        psTrace ("psphot", 5, "failed on blend 0 of %ld\n", modelSet->n);
    9999        psFree (PSF);
    100100        return false;
    101101    }
    102102
    103     psTrace ("psphot.blend", 5, "fitted primary as PSF\n");
     103    psTrace ("psphot", 5, "fitted primary as PSF\n");
    104104    pmModelSub (source->pixels, source->mask, PSF, false, false);
    105105    psFree (source->modelPSF);
     
    140140    }
    141141
    142     psTrace ("psphot.blend", 5, "fitted as PSF\n");
     142    psTrace ("psphot", 5, "fitted as PSF\n");
    143143    pmModelSub (source->pixels, source->mask, PSF, false, false);
    144144
     
    189189    if (!pmSourceMoments (source, EXT_MOMENTS_RAD)) return false;
    190190
    191     psTrace ("psphot.blend", 5, "trying blob...\n");
     191    psTrace ("psphot", 5, "trying blob...\n");
    192192
    193193    // this temporary source is used as a place-holder by the psphotEval functions below
     
    219219
    220220    if (okEXT && okDBL) {
    221         psTrace ("psphot.blend", 5, "blob chisq: %f vs %f\n", chiEXT, chiDBL);
     221        psTrace ("psphot", 5, "blob chisq: %f vs %f\n", chiEXT, chiDBL);
    222222        // XXX EAM : a bogus bias: need to examine this better
    223223        if (3*chiEXT > chiDBL) goto keepDBL;
     
    237237    psFree (DBL);
    238238    pmModelSub (source->pixels, source->mask, EXT, false, false);
    239     psTrace ("psphot.blend", 5, "blob as EXT: %f %f\n", EXT->params->data.F32[2], EXT->params->data.F32[3]);
     239    psTrace ("psphot", 5, "blob as EXT: %f %f\n", EXT->params->data.F32[2], EXT->params->data.F32[3]);
    240240
    241241    // save new model
     
    250250    pmModelSub (source->pixels, source->mask, (pmModel *) DBL->data[0], false, false);
    251251    pmModelSub (source->pixels, source->mask, (pmModel *) DBL->data[1], false, false);
    252     psTrace ("psphot.blend", 5, "blob as DBL: %f %f\n", ONE->params->data.F32[2], ONE->params->data.F32[3]);
     252    psTrace ("psphot", 5, "blob as DBL: %f %f\n", ONE->params->data.F32[2], ONE->params->data.F32[3]);
    253253
    254254    // drop old model, save new second model...
     
    339339
    340340    if ((source->moments->Sx < 1e-3) || (source->moments->Sx < 1e-3)) {
    341         psTrace ("psphotSourceFits", 5, "problem source: moments: %f %f\n", source->moments->Sx, source->moments->Sy);
     341        psTrace ("psphot", 5, "problem source: moments: %f %f\n", source->moments->Sx, source->moments->Sy);
    342342    }
    343343
Note: See TracChangeset for help on using the changeset viewer.