IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 17, 2011, 1:09:10 PM (15 years ago)
Author:
eugene
Message:

correctly handle the second pass in the detection image: the code was creating duplicate detections in 2 ways: 1) the source subtraction before the second pass was only being applied to the SRC, not the DET image, thus all 1st pass detections were also found as 2nd pass detections; 2) the DBL star fitting function was causing trouble, with the two positions merging to a single object -- this was considered a success, but left behind flux in the subtracted image (and garbage detections in general); Ive turned off the DBL fitting for now as I am not convinced that code is ready

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111110/psphot/src/psphotReadout.c

    r32685 r32689  
    11# include "psphotInternal.h"
    2 bool psphotDumpTest (pmConfig *config, const pmFPAview *view, const char *filerule);
    32
    43// this should be called by every program that links against libpsphot
     
    8382        return psphotReadoutCleanup (config, view, filerule);
    8483    }
    85     psphotDumpTest (config, view, filerule);
    8684
    8785    // find blended neighbors of very saturated stars (detections->newSources)
     
    139137    // linear PSF fit to source peaks, subtract the models from the image (in PSF mask)
    140138    psphotFitSourcesLinear (config, view, filerule, false); // pass 1 (detections->allSources)
    141     psphotDumpTest (config, view, filerule);
    142139
    143140    // measure the radial profiles to the sky
     
    188185        // NOTE: new sources are saved on detections->newSources
    189186        psphotSourceStats (config, view, filerule, false); // pass 2 (detections->newSources)
    190         psphotDumpTest (config, view, filerule);
    191187
    192188        // set source type
     
    209205        // XXX check on free of sources...
    210206        psphotMergeSources (config, view, filerule); // (detections->newSources + detections->allSources -> detections->allSources)
    211         psphotDumpTest (config, view, filerule);
    212207
    213208        // NOTE: apply to ALL sources
Note: See TracChangeset for help on using the changeset viewer.