IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38394 for trunk


Ignore:
Timestamp:
Jun 5, 2015, 2:16:16 PM (11 years ago)
Author:
bills
Message:

only attempt to fit pass1 sources to a saturated star profile

File:
1 edited

Legend:

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

    r36086 r38394  
    135135        N = index->data.U32[i];
    136136        source = sources->data[N];
     137
     138#ifndef DEBLEND_PASS2_SOURCES
     139        // XXX: Need to define this if we want to rerun the satstar stuff again on the pass2 sources
     140        // This is needed for psphotStack in -updatemode
     141        if ((source->mode2 & PM_SOURCE_MODE2_PASS1_SRC) == 0) continue;
     142#endif
    137143
    138144        bool isSat = source->mode & PM_SOURCE_MODE_SATSTAR;
     
    195201    psFree (SN);
    196202    psFree (index);
     203
     204#ifdef notdef
     205    // XXX Do not commit with this turned enabled
     206    // Dump the current readout image.
     207    psphotSaveImage(NULL, readout->image, "satstarsub.fits");
     208    psErrorClear();
     209#endif
    197210
    198211    psLogMsg ("psphot", PS_LOG_INFO, "deblend %d satstars: %f sec\n", Nsatstar, psTimerMark ("psphot.deblend.sat"));
Note: See TracChangeset for help on using the changeset viewer.