IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 5, 2011, 2:30:17 PM (15 years ago)
Author:
eugene
Message:

speed up psphotRadialApertures (mostly by avoiding the large mask reallocation); add profile wings to psphotStackReadout

File:
1 edited

Legend:

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

    r32612 r32616  
    132132
    133133// set this to 0 to run without threading
    134 # if (0)
     134# if (1)
    135135            if (!psThreadJobAddPending(job)) {
    136136                psError(PS_ERR_UNKNOWN, false, "Unable to guess model.");
     
    217217
    218218    // psImageMaskType **vMsk = (source->maskObj == NULL) ? NULL : source->maskObj->data.PS_TYPE_IMAGE_MASK_DATA;
     219
     220    // XXX unclear if I should run this analysis on both 1st and 2nd pass for 1st pass objects,
     221    // or just use the 1st pass value.  I think I should just use the 1st pass value, so skip
     222    // any that have already been assigned
     223    if (isfinite(source->skyRadius)) return true;
    219224
    220225    // radii will be MIN_RADIUS to MAX_RADIUS in NN log steps:
Note: See TracChangeset for help on using the changeset viewer.