IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 24, 2009, 10:54:29 AM (17 years ago)
Author:
eugene
Message:

clean up threading model for psphotGuessModel (defined standard way to split sources into regions); extending the threading to psphotMagnitudes, psphotApReset, psphotBlendFit, psphotSourceStats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadout.c

    r20829 r21166  
    7979
    8080    // construct sources and measure basic stats
    81     psArray *sources = psphotSourceStats (readout, recipe, detections);
     81    psArray *sources = psphotSourceStats (config, readout, detections);
    8282    if (!sources) return false;
    8383    if (!strcasecmp (breakPt, "PEAKS")) {
     
    178178
    179179    // non-linear PSF and EXT fit to brighter sources
    180     psphotBlendFit (readout, sources, recipe, psf);
     180    psphotBlendFit (config, readout, sources, psf);
    181181
    182182    // replace all sources
     
    207207
    208208    // define new sources based on only the new peaks
    209     psArray *newSources = psphotSourceStats (readout, recipe, detections);
     209    psArray *newSources = psphotSourceStats (config, readout, detections);
    210210
    211211    // set source type
     
    243243
    244244    // measure aperture photometry corrections
    245     if (!psphotApResid (readout, sources, recipe, psf)) {
     245    if (!psphotApResid (config, readout, sources, psf)) {
    246246        psLogMsg ("psphot", 3, "failed on psphotApResid");
    247247        return psphotReadoutCleanup (config, readout, recipe, detections, psf, sources);
     
    249249
    250250    // calculate source magnitudes
    251     psphotMagnitudes(config, view, sources, recipe, psf);
     251    psphotMagnitudes(config, readout, view, sources, psf);
    252252
    253253    // replace failed sources?
Note: See TracChangeset for help on using the changeset viewer.