IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 27, 2012, 11:28:57 AM (14 years ago)
Author:
bills
Message:

Add argument skipNegativeFluxSources to psphotFitSourcesLinear.
Do not enable it's use in psphotStack yet.

File:
1 edited

Legend:

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

    r34086 r34215  
    185185
    186186    // linear PSF fit to source peaks, subtract the models from the image (in PSF mask)
    187     psphotFitSourcesLinear (config, view, filerule, false); // pass 1 (detections->allSources)
     187    psphotFitSourcesLinear (config, view, filerule, false, false); // pass 1 (detections->allSources)
    188188
    189189    // measure the radial profiles to the sky
     
    212212    // linear fit to include all sources (subtract again)
    213213    // NOTE : apply to ALL sources (extended + psf)
    214     psphotFitSourcesLinear (config, view, filerule, true); // pass 2 (detections->allSources)
     214    psphotFitSourcesLinear (config, view, filerule, true, false); // pass 2 (detections->allSources)
    215215
    216216    // if we only do one pass, skip to extended source analysis
     
    261261
    262262        // NOTE: apply to ALL sources
    263         psphotFitSourcesLinear (config, view, filerule, true); // pass 3 (detections->allSources)
     263        psphotFitSourcesLinear (config, view, filerule, true, false); // pass 3 (detections->allSources)
    264264    }
    265265
     
    302302
    303303        // NOTE: apply to ALL sources
    304         psphotFitSourcesLinear (config, view, filerule, true); // pass 3 (detections->allSources)
     304        psphotFitSourcesLinear (config, view, filerule, true, false); // pass 3 (detections->allSources)
    305305    }
    306306
Note: See TracChangeset for help on using the changeset viewer.