IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34190


Ignore:
Timestamp:
Jul 20, 2012, 5:05:34 PM (14 years ago)
Author:
eugene
Message:

set mode to EXTENDED when extended source fits succeed; turn on radial profile and kron iterate for ReadoutMinimal

Location:
branches/eam_branches/ipp-20120627/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120627/psphot/src/psphotExtendedSourceFits.c

    r33089 r34190  
    7777    if (!status) {
    7878        nThreads = 0;
     79    }
     80    // do not thread if we are trying to study the fitting process
     81    if (psTraceGetLevel ("psphot.psphotFitEXT") >= 6) {
     82      nThreads = 0;
    7983    }
    8084
     
    462466        psFree (source->modelEXT);
    463467        source->modelEXT = psMemIncrRefCounter (source->modelFits->data[minModel]);
     468        source->type = PM_SOURCE_TYPE_EXTENDED;
     469        source->mode |= PM_SOURCE_MODE_EXTMODEL;
     470        source->mode |= PM_SOURCE_MODE_NONLINEAR_FIT;
    464471
    465472        // adjust the window so the subtraction covers the faint wings
  • branches/eam_branches/ipp-20120627/psphot/src/psphotReadoutMinimal.c

    r34179 r34190  
    8383    psphotFitSourcesLinear (config, view, filerule, false);
    8484
     85    // measure the radial profiles to the sky
     86    psphotRadialProfileWings (config, view, filerule);
     87
     88    // re-measure the kron mags with models subtracted and more appropriate windows
     89    psphotKronIterate(config, view, filerule);
     90
    8591    // measure source size for the remaining sources
    8692    psphotSourceSize (config, view, filerule, false);
Note: See TracChangeset for help on using the changeset viewer.