IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 30, 2012, 6:08:59 AM (14 years ago)
Author:
eugene
Message:

add PS1_DV3 format to output CMFs (not yet complete); some additional test code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120805/psModules/src/objects/pmSource.c

    r34085 r34367  
    650650        if (source->peak->y >= region->y1) continue;
    651651
     652# define DEBUG 0
     653# define TEST_X 2792
     654# define TEST_Y 1741
     655# if (DEBUG)
     656        if ((fabs(source->peak->x - TEST_X) < 5) && (fabs(source->peak->y - TEST_Y) < 5)) {
     657          fprintf (stderr, "test peak\n");
     658        }
     659# endif
     660
    652661        // should be set by pmSourceAlloc
    653662        psAssert (source->type == PM_SOURCE_TYPE_UNKNOWN, "source type was not init-ed?");
     
    665674
    666675        // XXX EAM : can we use the value of SATURATE if mask is NULL?
     676        // XXX a 5x5 box centered on the peak is a rather small region to check for
    667677        inner = psRegionForSquare (source->peak->x, source->peak->y, 2);
    668678        inner = psRegionForImage (source->maskView, inner);
Note: See TracChangeset for help on using the changeset viewer.