IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2011, 1:04:41 PM (15 years ago)
Author:
eugene
Message:

updates to pmPeak to better distinguish peak flux versions; updates to visualization; add bits for substantial suspect masking; consolidate assignment of source position and flux based on peak, moments, etc; improve footprint culling process; fix PSF_QF and PSF_QF_PERFECT calculations; fix source model chisq values

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

    • Property svn:ignore
      •  

        old new  
        2828ChangeLog
        2929psmodules-*.tar.*
         30a.out.dSYM
  • trunk/psModules/src/objects/pmSourceIO_PS1_CAL_0.c

    r30621 r31153  
    9191
    9292    // let's write these out in S/N order
    93     sources = psArraySort (sources, pmSourceSortBySN);
     93    sources = psArraySort (sources, pmSourceSortByFlux);
    9494
    9595    table = psArrayAllocEmpty (sources->n);
     
    136136
    137137        float calMag = source->psfMag + magOffset;
    138         float peakMag = (source->peak->flux > 0) ? -2.5*log10(source->peak->flux) : NAN;
     138        float peakMag = (source->peak->rawFlux > 0) ? -2.5*log10(source->peak->rawFlux) : NAN;
    139139        psS16 nImageOverlap = 1;
    140140
     
    294294
    295295        source->peak       = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], peakFlux, PM_PEAK_LONE);
    296         source->peak->flux = peakFlux;
     296        source->peak->rawFlux = peakFlux;
     297        source->peak->smoothFlux = peakFlux;
    297298        source->peak->dx   = dPAR[PM_PAR_XPOS];
    298299        source->peak->dy   = dPAR[PM_PAR_YPOS];
     
    357358
    358359    // let's write these out in S/N order
    359     sources = psArraySort (sources, pmSourceSortBySN);
     360    sources = psArraySort (sources, pmSourceSortByFlux);
    360361
    361362    table = psArrayAllocEmpty (sources->n);
     
    576577
    577578    // let's write these out in S/N order
    578     sources = psArraySort (sources, pmSourceSortBySN);
     579    sources = psArraySort (sources, pmSourceSortByFlux);
    579580
    580581    // we are writing one row per model; we need to write out same number of columns for each row: find the max Nparams
Note: See TracChangeset for help on using the changeset viewer.