Changeset 33980
- Timestamp:
- Jun 1, 2012, 3:50:35 PM (14 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 2 edited
-
psphotAddNoise.c (modified) (1 diff)
-
psphotReplaceUnfit.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotAddNoise.c
r32348 r33980 47 47 48 48 psArray *sources = detections->allSources; 49 psAssert (sources, "missing sources?"); 49 //psAssert (sources, "missing sources?"); 50 // if no work, should just return true 51 if (!sources) return true; 50 52 51 53 psTimerStart ("psphot.noise"); -
trunk/psphot/src/psphotReplaceUnfit.c
r32721 r33980 60 60 61 61 psArray *sources = detections->allSources; 62 psAssert (sources, "missing sources?"); 62 //psAssert (sources, "missing sources?"); 63 if (!sources) return true; 63 64 64 65 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) … … 139 140 140 141 psArray *sources = detections->allSources; 141 psAssert (sources, "missing sources?"); 142 142 //psAssert (sources, "missing sources?"); 143 if (!sources) return true; 144 143 145 // user-defined masks to test for good/bad pixels (build from recipe list if not yet set) 144 146 psImageMaskType maskVal = psMetadataLookupImageMask(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels
Note:
See TracChangeset
for help on using the changeset viewer.
