IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2012, 4:19:30 PM (14 years ago)
Author:
eugene
Message:

adding SATSTAR profile code (but keeping it disabled for now)

Location:
trunk/psphot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src

  • trunk/psphot/src/psphotReadout.c

    r34317 r34404  
    128128    }
    129129
    130     // find blended neighbors of very saturated stars (detections->newSources)
    131     // if (!psphotDeblendSatstars (config, view, filerule)) {
    132     // psError (PSPHOT_ERR_UNKNOWN, false, "failed on satstar deblend analysis");
    133     // return psphotReadoutCleanup (config, view, filerule);
    134     // }
    135 
    136130    // mark blended peaks PS_SOURCE_BLEND (detections->newSources)
    137131    // XXX I've deactivated this because it was preventing galaxies close to stars from being
     
    149143    }
    150144
     145    // find and subtract radial profile models for saturated stars (XXX change name eventually)
     146    if (!psphotDeblendSatstars (config, view, filerule)) {
     147        psError (PSPHOT_ERR_UNKNOWN, false, "failed on satstar deblend analysis");
     148        return psphotReadoutCleanup (config, view, filerule);
     149    }
     150
    151151    // if we were not supplied a PSF model, determine the IQ stats here (detections->newSources)
    152152    if (!psphotImageQuality (config, view, filerule)) { // pass 1
     
    221221    // NOTE: this block performs the 2nd pass low-significance PSF detection stage
    222222    {
    223         // add noise for subtracted objects
     223        // add noise for subtracted objects & subtracted saturated stars
    224224        psphotAddNoise (config, view, filerule); // pass 1 (detections->allSources)
    225225
     
    253253        // merge the newly selected sources into the existing list
    254254        // NOTE: merge OLD and NEW
    255         // XXX check on free of sources...
    256255        psphotMergeSources (config, view, filerule); // (detections->newSources + detections->allSources -> detections->allSources)
    257256
     
    294293        // merge the newly selected sources into the existing list
    295294        // NOTE: merge OLD and NEW
    296         // XXX check on free of sources...
    297295        psphotMergeSources (config, view, filerule); // (detections->newSources + detections->allSources -> detections->allSources)
    298296
Note: See TracChangeset for help on using the changeset viewer.