Changeset 34404 for trunk/psphot/src/psphotAddNoise.c
- Timestamp:
- Sep 5, 2012, 4:19:30 PM (14 years ago)
- Location:
- trunk/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120805/psphot (added) merged: 34360,34368-34369,34377-34378,34380,34392,34399
- Property svn:mergeinfo changed
-
trunk/psphot/src
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120805/psphot/src (added) merged: 34360,34368-34369,34377-34378,34380,34392,34399
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotAddNoise.c
r33980 r34404 76 76 } 77 77 78 psphotVisualShowImage (readout); 79 78 80 // loop over all source 79 81 for (int i = 0; i < sources->n; i++) { 80 82 pmSource *source = sources->data[i]; 83 84 // add or subtract noise for a saturated star. satstars modeled as a radial profile 85 // need special handling 86 if (source->mode2 & PM_SOURCE_MODE2_SATSTAR_PROFILE) { 87 psphotSatstarProfileOp (source, maskVal, FACTOR, PM_MODEL_OP_NOISE, add); 88 continue; 89 } 81 90 82 91 // skip sources which were not subtracted … … 92 101 } 93 102 103 psphotVisualShowImage (readout); 104 94 105 return true; 95 106 }
Note:
See TracChangeset
for help on using the changeset viewer.
