IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36212


Ignore:
Timestamp:
Oct 13, 2013, 1:34:10 PM (13 years ago)
Author:
eugene
Message:

set EXTENDED_SOURCE_ANALYSIS to true to force petrosians out if we call psphotPetroFlux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psphot/src/psphotPetroFlux.c

    r36156 r36212  
    1919    int chisqNum = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.CHISQ.NUM");
    2020    if (!status) chisqNum = -1;
     21
     22    psMetadataAddBool (recipe, PS_LIST_TAIL, "EXTENDED_SOURCE_ANALYSIS", PS_META_REPLACE, "we measured this, save to disk", true);
    2123
    2224    // loop over the available readouts
     
    149151        pmSource *source = sources->data[i];
    150152        if (!source->peak) continue; // XXX how can we have a peak-less source?
     153        if (!source->extpars) continue; // if this is not set, we did not have a valid petRadius
    151154
    152155        // check status of this source's moments
     
    251254    source->extpars->petrosianFill = nPetroPix / (M_PI * radPetro2);
    252255
    253     fprintf (stderr, "petro flux: %f +/- %f\n", Sum, sqrt(Var));
    254 
    255     return true;
    256 }
     256    // fprintf (stderr, "petro flux: %f +/- %f\n", Sum, sqrt(Var));
     257
     258    return true;
     259}
Note: See TracChangeset for help on using the changeset viewer.