Changeset 42088 for trunk/psphot/src/psphotSignificanceImage.c
- Timestamp:
- Feb 28, 2022, 2:40:32 PM (4 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotSignificanceImage.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20211108/psphot (added) merged: 41968,42015,42021-42022,42039
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotSignificanceImage.c
r35688 r42088 105 105 // float v2 = value + PS_SQR(value/100.0); 106 106 // CZW 2013-06-20: I don't think this hack was helping. 107 // EAM 2021-12-21: see note below about divots in the significance image 107 108 float v2 = value; 108 109 smooth_wt->data.F32[j][i] = factor * PS_SQR(v2) / smooth_wt->data.F32[j][i]; … … 122 123 } 123 124 psImageConvolveSetThreads(oldThreads); 125 126 // We now have the significance image and the signal image. In some cases (e.g., 127 // stacks), the variance on pixels in the cores of stars is elevated compared to pure 128 // poisson statistics. In this case, especially at high signal levels, the ratio of 129 // signal / noise in the core of the star can be lower than the surrounding ring of 130 // pixels. This results in a divot in the center of the star in the significance 131 // image. the apparent peak of the significance is then not centered on the star and 132 // chaos ensues. A possible fix is to use the signal image for signficance for 133 // the high S/N detection pass. 124 134 125 135 pmReadout *significanceRO = pmReadoutAlloc(NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
