IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 2, 2012, 1:10:10 PM (14 years ago)
Author:
eugene
Message:

add satstar profile operations (add & sub profile and/or noise at appropriate locations; skip stars with profiles for some analysis steps, etc; some mods to visualization for testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120805/psphot/src/psphotFindDetections.c

    r33914 r34378  
    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.