IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40035


Ignore:
Timestamp:
May 14, 2017, 10:33:58 PM (9 years ago)
Author:
mhuber
Message:

adjust the model/maskedSum cuts to previous lower values in WSdiff and SSdiff to prevent NAN flux/mag sig from skipped linear fit; adding back outputs for low sum values but as trace option that used to be log outputs

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/recipes/psphot.config

    r40034 r40035  
    692692  OUTPUT.FORMAT                     STR  PS1_DV5       # Format of output file
    693693
     694  PSF_FIT_MODEL_SUM_FRAC_CUT        F32  0.5
     695  PSF_FIT_MASKED_SUM_FRAC_CUT       F32  0.1
     696
    694697  # Extended source fit parameters
    695698  # these models are used for high-quality shape analysis after all sources have been removed
     
    711714  CHIP_PARAMS                       BOOL FALSE
    712715
     716  PSF_FIT_MODEL_SUM_FRAC_CUT        F32  0.5
     717  PSF_FIT_MASKED_SUM_FRAC_CUT       F32  0.1
     718
    713719  # Extended source fit parameters
    714720  # these models are used for high-quality shape analysis after all sources have been removed
     
    748754
    749755  PSF_FIT_MODEL_SUM_FRAC_CUT        F32  0.5
    750   PSF_FIT_MASKED_SUM_FRAC_CUT       F32  0.5
     756  PSF_FIT_MASKED_SUM_FRAC_CUT       F32  0.1
    751757
    752758  # Extended source fit parameters
  • trunk/psphot/src/psphotFitSourcesLinear.c

    r39818 r40035  
    284284        //if (modelSum  < cut * normFlux) continue;
    285285        //if (maskedSum < cut * normFlux) continue;
     286
     287        // MEH add the log comments back in as trace instead, psphot 5? 
     288        if (modelSum < 0.8*normFlux) {
     289           psTrace ("psphot", 5, "low-sig model @ %f, %f (%f masked sum, %f sum, %f normFlux, %f peak)\n",
     290                   source->peak->xf, source->peak->yf, maskedSum, modelSum, normFlux, source->peak->rawFlux);
     291        }
     292        if (maskedSum < 0.5*normFlux) {
     293           psTrace ("psphot", 5, "worrying model @ %f, %f (%f masked sum, %f sum, %f normFlux, %f peak)\n",
     294                   source->peak->xf, source->peak->yf, maskedSum, modelSum, normFlux, source->peak->rawFlux);
     295        }
    286296        if (modelSum  < cutModelSum * normFlux) continue;
    287297        if (maskedSum < cutMaskedSum * normFlux) continue;
Note: See TracChangeset for help on using the changeset viewer.