IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32774


Ignore:
Timestamp:
Nov 22, 2011, 3:41:00 PM (15 years ago)
Author:
eugene
Message:

do not measure window for MATCHED sources; set their Kron window to the default value

Location:
tags/ipp-20111110/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20111110/psphot/src/psphotKronIterate.c

    r32633 r32774  
    221221
    222222            // XXX TEST : use a window based on the radial profile numbers: max is skyRadius, min is RADIUS
    223             float maxWindow = source->skyRadius;
     223            // if we lack the skyRadius (eg MATCHED sources), go to the default value
     224            float maxWindow = isfinite(source->skyRadius) ? source->skyRadius : RADIUS;
    224225            float windowRadius = PS_MAX(RADIUS, maxWindow);
    225226
  • tags/ipp-20111110/psphot/src/psphotRadialProfileWings.c

    r32755 r32774  
    222222    // any that have already been assigned
    223223    if (isfinite(source->skyRadius)) return true;
     224
     225    if (source->mode2 & PM_SOURCE_MODE2_MATCHED) return true; // skip matched sources (no signal)
    224226
    225227    // radii will be MIN_RADIUS to MAX_RADIUS in NN log steps:
Note: See TracChangeset for help on using the changeset viewer.