IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25651


Ignore:
Timestamp:
Sep 28, 2009, 5:55:46 PM (17 years ago)
Author:
eugene
Message:

ifdef out test prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/psphot/src/psphotApResid.c

    r25616 r25651  
    145145    Npsf = 0;
    146146
     147# ifdef DEBUG   
    147148    FILE *f = fopen ("apresid.dat", "w");
    148149    psAssert (f, "failed open");
     150# endif
    149151
    150152    for (int i = 0; i < sources->n; i++) {
     
    179181        }
    180182
     183# ifdef DEBUG
    181184        fprintf (f, "%6.1f %6.1f : %6.1f %6.1f : %8.3f %8.3f %8.3f : %f : %f %f %f : %f\n",
    182185                 source->peak->xf, source->peak->yf,
     
    186189                 source->modelPSF->params->data.F32[PM_PAR_SXX], source->modelPSF->params->data.F32[PM_PAR_SXY], source->modelPSF->params->data.F32[PM_PAR_SYY],
    187190                 source->modelPSF->params->data.F32[PM_PAR_7]);
    188 
     191# endif
    189192        psVectorAppend (mag, source->psfMag);
    190193        psVectorAppend (dMag,source->errMag);
     
    198201              Npsf, Nskip, Nfail, sources->n - Npsf - Nskip - Nfail);
    199202
     203# ifdef DEBUG
    200204    fclose (f);
     205# endif
    201206
    202207    // XXX choose a better value here?
Note: See TracChangeset for help on using the changeset viewer.