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/psphotFindDetections.c

    r33914 r34404  
    120120    if (useFootprints) {
    121121        if (replaceSourcesForFootprints) {
     122            // subtract the noise for all sources including satstars
    122123            psphotAddOrSubNoiseReadout(config, view, filerule, index, recipe, false);
    123124            psphotReplaceAllSourcesReadout (config, view, filerule, index, recipe, false);
     125
     126            // add in the satstars
     127            psphotAddOrSubSatstarsReadout (config, view, filerule, index, recipe, true);
     128
    124129            psFree (significance);
    125130            significance = psphotSignificanceImage (readout, recipe, maskVal);
     131
     132            // display the significance image
     133            psphotVisualShowSignificance (significance->variance, 0.98*threshold, 1.02*threshold);
    126134        }
    127135
     
    130138        if (replaceSourcesForFootprints) {
    131139            psphotRemoveAllSourcesReadout (config, view, filerule, index, recipe, false);
     140
     141            // subtract the satstars
     142            psphotAddOrSubSatstarsReadout (config, view, filerule, index, recipe, false);
    132143        }
    133144    }
Note: See TracChangeset for help on using the changeset viewer.