IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2013, 6:10:41 PM (13 years ago)
Author:
watersc1
Message:

Changes to stacking code:

  • New input FWHM clipping algorithm using mixture models
  • New recipes/reductions that further reduce FWHM clipping
  • pmSubtractionRejectStamps now fits flux/chi2 values in log-log space to prevent outliers biasing the fit (and causing images to be rejected due to a small number of bad stamps)
  • pmPSF now correctly chooses between useReff forms as appropriate
  • pmPSF change fixes circularization issues in pmReadoutFakeFromSources
  • pmPSFEnvelope somewhat more clear about circularization
  • Changed debugging in pmSubtractionEquation to add information.

I do not see any conflicts with the ppSub code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackPrepare.c

    r35400 r35455  
    334334    //    fprintf(stderr,"means: %g %g\n",means->data.F32[0],means->data.F32[1]);
    335335    //    fprintf(stderr,"sigma: %g %g \n",S->data.F32[0],S->data.F32[1]);
    336 
    337336    //    fprintf(stderr,"pi:    %g %g\n",pi->data.F32[0],pi->data.F32[1]);
    338    
    339     //    unwrittenGMMfunction(options->inputSeeing, options->inputMask, 0xff,
    340     //           &Punimodal,
    341     //           &m1,&s1,&pi1,
    342     //           &m2,&s2,&pi2);
    343337
    344338    // Use Gaussian mixture model analysis of the FWHM distribution to decide an optional FWHM limit
     
    358352    if (limit > maxFWHM)    { limit = maxFWHM; }    // We should not be larger than our max
    359353    if (limit < threshFWHM) { limit = threshFWHM; } // Nor smaller than our min
    360 
     354    psLogMsg("ppStack",PS_LOG_INFO,
     355             "PSF FWHM distribution: limit: %f (%f %f %f) (%f %f %f) %f",
     356             limit,means->data.F32[0],S->data.F32[0],pi->data.F32[0],
     357             means->data.F32[1],S->data.F32[1],pi->data.F32[1],
     358             Punimodal);
    361359    for (int i = 0; i < num; i++) {
    362360      if (options->inputSeeing->data.F32[i] > limit) {
     
    404402    if (options->convolve) {
    405403        options->psf = ppStackPSF(config, numCols, numRows, psfs, options);
    406         psFree(psfs);
     404        psFree(psfs);
    407405        if (!options->psf) {
    408406#if 1
Note: See TracChangeset for help on using the changeset viewer.