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/psphotSourceFits.c

    r19881 r21166  
    99static int NfitEXT = 0;
    1010
    11 bool psphotFitInit () {
     11bool psphotFitInit (int nThreads) {
    1212    psTimerStart ("psphot.fits");
     13    pmSourceFitSetInit (nThreads);
    1314    return true;
    1415}
     
    207208}
    208209
    209 bool psphotFitBlob (pmReadout *readout, pmSource *source, psArray *sources, pmPSF *psf, psMaskType maskVal, psMaskType markVal) {
     210bool psphotFitBlob (pmReadout *readout, pmSource *source, psArray *newSources, pmPSF *psf, psMaskType maskVal, psMaskType markVal) {
    210211
    211212    bool okEXT, okDBL;
     
    310311    psTrace ("psphot", 5, "blob as DBL: %f %f\n", ONE->params->data.F32[PM_PAR_XPOS], ONE->params->data.F32[PM_PAR_YPOS]);
    311312
    312     psArrayAdd (sources, 100, newSrc);
     313    psArrayAdd (newSources, 100, newSrc);
    313314    psFree (newSrc);
    314315    psFree (DBL);
Note: See TracChangeset for help on using the changeset viewer.