- Timestamp:
- Dec 22, 2010, 6:28:58 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/psphot/src/psphotRadialApertures.c
r30140 r30142 137 137 bool psphotRadialApertureSource (pmSource *source, psMetadata *recipe, float skynoise, psImageMaskType maskVal, const psVector *aperRadii, int entry) { 138 138 139 psAssert(source->radialAper->data[entry] == NULL, "why is this already defined?"); 139 // if we are a child source, save the results to the parent source radial aperture array 140 psArray *radialAperSet = source->radialAper; 141 if (source->parent) { 142 radialAperSet = source->parent->radialAper; 143 } 144 145 psAssert(radialAperSet->data[entry] == NULL, "why is this already defined?"); 140 146 141 147 pmSourceRadialApertures *radialAper = pmSourceRadialAperturesAlloc (); 142 source->radialAper->data[entry] = radialAper;148 radialAperSet->data[entry] = radialAper; 143 149 144 150 // storage for the derived pixel values
Note:
See TracChangeset
for help on using the changeset viewer.
