IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2013, 2:37:52 PM (13 years ago)
Author:
mhuber
Message:

adding CullSingles option to pmSourceMatchMerge for ppSubMatchPSFs select to only merge the matched sources for ppSub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceMatch.c

    r34403 r35240  
    340340
    341341
    342 psArray *pmSourceMatchMerge(psArray *sourceArrays, float radius)
     342psArray *pmSourceMatchMerge(psArray *sourceArrays, float radius, bool cullSingles)
    343343{
    344344    PS_ASSERT_ARRAY_NON_NULL(sourceArrays, NULL);
    345345    PS_ASSERT_FLOAT_LARGER_THAN(radius, 0.0, NULL);
    346346
    347     psArray *matches = pmSourceMatchSources(sourceArrays, radius, false); // Source matches
     347    // XXX MEH - ppSub should only get matched list so cull true. merge refers to the picking of the first entry data for match
     348    //psArray *matches = pmSourceMatchSources(sourceArrays, radius, false); // Source matches
     349    psArray *matches = pmSourceMatchSources(sourceArrays, radius, cullSingles); // Source matches
    348350    if (!matches) {
    349351        psError(psErrorCodeLast(), false, "Unable to match source lists.");
Note: See TracChangeset for help on using the changeset viewer.