IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37791


Ignore:
Timestamp:
Jan 10, 2015, 7:52:49 AM (12 years ago)
Author:
bills
Message:

Requiring that the sersic model have the noconverge flag set rejects too many objects. Drop that test.
Also turn off PRINT_STUFF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20141224/psphot/src/psphotGalaxyParams.c

    r37776 r37791  
    105105
    106106    psImage *footprintImage = NULL;
    107 #ifdef USE_FOOTPRINTS
     107#if USE_FOOTPRINTS
    108108    footprintImage = psImageAlloc(readout->image->numCols, readout->image->numRows, PS_TYPE_S32);
    109109    psImageInit(footprintImage, 0);
     
    246246    psMetadata *recipe      = job->args->data[3];
    247247
    248 #ifndef USE_FOOTPRINTS
     248#if (!USE_FOOTPRINTS)
    249249    float skynoise          = PS_SCALAR_VALUE(job->args->data[4],F32);
    250250#endif
     
    262262    // don't try and use bad models
    263263    pmModelStatus badModel = PM_MODEL_STATUS_NONE;
    264     badModel |= PM_MODEL_STATUS_NONCONVERGE;
     264//    badModel |= PM_MODEL_STATUS_NONCONVERGE;  this causes most objects to get unmeasured
    265265    badModel |= PM_MODEL_STATUS_BADARGS;
    266266    badModel |= PM_MODEL_STATUS_OFFIMAGE;
     
    418418#endif
    419419
    420 #ifdef USE_FOOTPRINTS
     420#if (USE_FOOTPRINTS)
    421421        psS32 **vFootprint = footprintImage->data.S32;
    422422#else
     
    451451                }
    452452
    453 #ifdef USE_FOOTPRINTS
     453#if (USE_FOOTPRINTS)
    454454                // this is a pixel in the object
    455455                if (vFootprint[yImage][xImage] == source->peak->footprint->id) {
     
    477477                if (isnan(mirrorPixel)) continue;
    478478
    479 #ifdef USE_FOOTPRINTS
     479#if (USE_FOOTPRINTS)
    480480                if (vFootprint[yFlip + row0][xFlip + col0] == 0) {
    481481#else
     
    602602        source->extpars->gS2 = source->extpars->gRT + source->extpars->gRA;
    603603
    604 #ifdef PRINT_STUFF
     604#if (PRINT_STUFF)
    605605        if (Ngood % 40 == 1) {
    606606          fprintf (stderr, "   id  sumI rHL rad   sumI     gRT   gRA       sumRt      sumBt         numPixels numBGPixels\n");
Note: See TracChangeset for help on using the changeset viewer.