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

    r32348 r32689  
    236236        pmSource *source = sources->data[i];
    237237
    238 # define TEST_X -420.0
    239 # define TEST_Y 300.0
     238# if (0)
     239# define TEST_X 34
     240# define TEST_Y 28
    240241   
    241242        if ((fabs(source->peak->xf - TEST_X) < 5) && (fabs(source->peak->yf - TEST_Y) < 5)) {
    242             fprintf (stderr, "test galaxy\n");
     243            fprintf (stderr, "test object\n");
    243244        }
    244245
    245246# undef TEST_X
    246247# undef TEST_Y
     248# endif
    247249
    248250        // skip non-astronomical objects (very likely defects)
Note: See TracChangeset for help on using the changeset viewer.