IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2022, 2:40:32 PM (4 years ago)
Author:
eugene
Message:

for bright stars in stacks, the peak in the S/N image can have a central divot if the variance of the central pixels is relatively large compared to the ring of pixels further from the center. the detected peaks are then not well centered. this can be avoided if we detect on the signal image itself (after first determining an appropriate flux value for the desired S/N limit); added an option to use the signal image for the first pass peak detetion step

Location:
trunk/psphot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src/psphotSignificanceImage.c

    r35688 r42088  
    105105              //              float v2 = value + PS_SQR(value/100.0);
    106106              // 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
    107108              float v2 = value;
    108109              smooth_wt->data.F32[j][i] = factor * PS_SQR(v2) / smooth_wt->data.F32[j][i];
     
    122123    }
    123124    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.
    124134
    125135    pmReadout *significanceRO = pmReadoutAlloc(NULL);
Note: See TracChangeset for help on using the changeset viewer.