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_DEV_1.c

    r30621 r31153  
    7373
    7474    // let's write these out in S/N order
    75     sources = psArraySort (sources, pmSourceSortBySN);
     75    sources = psArraySort (sources, pmSourceSortByFlux);
    7676
    7777    table = psArrayAllocEmpty (sources->n);
     
    117117        }
    118118
    119         float peakMag = (source->peak->flux > 0) ? -2.5*log10(source->peak->flux) : NAN;
     119        float peakMag = (source->peak->rawFlux > 0) ? -2.5*log10(source->peak->rawFlux) : NAN;
    120120        psS16 nImageOverlap = 1;
    121121
     
    263263
    264264        source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], peakFlux, PM_PEAK_LONE);
    265         source->peak->flux = peakFlux;
     265        source->peak->rawFlux = peakFlux;
     266        source->peak->smoothFlux = peakFlux;
    266267        source->peak->dx   = dPAR[PM_PAR_XPOS];
    267268        source->peak->dy   = dPAR[PM_PAR_YPOS];
     
    307308
    308309    // let's write these out in S/N order
    309     sources = psArraySort (sources, pmSourceSortBySN);
     310    sources = psArraySort (sources, pmSourceSortByFlux);
    310311
    311312    table = psArrayAllocEmpty (sources->n);
     
    480481
    481482    // let's write these out in S/N order
    482     sources = psArraySort (sources, pmSourceSortBySN);
     483    sources = psArraySort (sources, pmSourceSortByFlux);
    483484
    484485    // 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.