IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2012, 4:19:30 PM (14 years ago)
Author:
eugene
Message:

adding SATSTAR profile code (but keeping it disabled for now)

Location:
trunk/psphot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src

  • trunk/psphot/src/psphotRadialProfileWings.c

    r33839 r34404  
    190190        if (!source->moments) continue;
    191191
     192        // skip saturated stars modeled with a radial profile
     193        if (source->mode2 & PM_SOURCE_MODE2_SATSTAR_PROFILE) continue;
     194
     195        // skip non-detected sources matched from other images
     196        if (source->mode2 & PM_SOURCE_MODE2_MATCHED) return true; // skip matched sources (no signal)
     197
     198        // XXX unclear if I should run this analysis on both 1st and 2nd pass for 1st pass objects,
     199        // or just use the 1st pass value.  I think I should just use the 1st pass value, so skip
     200        // any that have already been assigned
     201        if (isfinite(source->skyRadius)) return true;
     202
    192203        // replace object in image
    193204        bool reSubtract = false;
     
    226237
    227238    // psImageMaskType **vMsk = (source->maskObj == NULL) ? NULL : source->maskObj->data.PS_TYPE_IMAGE_MASK_DATA;
    228 
    229     // XXX unclear if I should run this analysis on both 1st and 2nd pass for 1st pass objects,
    230     // or just use the 1st pass value.  I think I should just use the 1st pass value, so skip
    231     // any that have already been assigned
    232     if (isfinite(source->skyRadius)) return true;
    233 
    234     if (source->mode2 & PM_SOURCE_MODE2_MATCHED) return true; // skip matched sources (no signal)
    235239
    236240    // radii will be MIN_RADIUS to MAX_RADIUS in NN log steps:
Note: See TracChangeset for help on using the changeset viewer.