Changeset 8782
- Timestamp:
- Sep 8, 2006, 4:49:40 PM (20 years ago)
- Location:
- trunk/stac/src
- Files:
-
- 2 edited
-
stacRejection.c (modified) (1 diff)
-
stacScales.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/stacRejection.c
r7543 r8782 144 144 // Calculate the gradient 145 145 grads->data.F32[j] = stacGradient(inputs->data[j], xPix, yPix); 146 if ( finite(grads->data.F32[j])) {146 if (isfinite(grads->data.F32[j])) { 147 147 gradsMask->data.U8[j] = 0; 148 148 numGrads++; -
trunk/stac/src/stacScales.c
r6887 r8782 180 180 sum -= offsets->data.F32[i] * (float)numPix; 181 181 photometry->data.F32[j] = sum * M_PI * aper2 / (float)numPix; 182 if (photometry->data.F32[j] > 0 && finite(photometry->data.F32[j])) {182 if (photometry->data.F32[j] > 0 && isfinite(photometry->data.F32[j])) { 183 183 mask->data.U8[j] = 1; 184 184 psTrace("stac.scales", 8, "Star at %f,%f --> %f\n", coords->x, coords->y, sum);
Note:
See TracChangeset
for help on using the changeset viewer.
