IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 2, 2012, 1:10:10 PM (14 years ago)
Author:
eugene
Message:

add satstar profile operations (add & sub profile and/or noise at appropriate locations; skip stars with profiles for some analysis steps, etc; some mods to visualization for testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120805/psphot/src/psphotRadialProfileWings.c

    r33839 r34378  
    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.