IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36330


Ignore:
Timestamp:
Dec 2, 2013, 9:59:41 AM (13 years ago)
Author:
eugene
Message:

add a BEST_FIT model flag

Location:
branches/eam_branches/ipp-20130904/psphot/src
Files:
3 edited

Legend:

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

    r36327 r36330  
    682682            pmSourceCacheModel (source, maskVal);
    683683        }
     684        source->modelEXT->flags |= PM_MODEL_BEST_FIT;
    684685
    685686        // subtract the best fit from the object, leave local sky
  • branches/eam_branches/ipp-20130904/psphot/src/psphotReadout.c

    r34418 r36330  
    316316    psphotSourceSize (config, view, filerule, false); // pass 2 (detections->allSources)
    317317
     318    // XXX currently we are doing both the analysis of the size and the assessment of "fit ext"
     319    // in source size.  this overloads the bit MODE_EXT_LIMIT to mean "fit ext" not just
     320    // "bigger than a PSF"
     321
     322    // decide which source(s) are to be fitted with the extended source analysis code.
     323    // XXX finish this: psphotChooseAnalysisOptions (config, view, filerule, false);
     324
    318325    psphotExtendedSourceAnalysis (config, view, filerule); // pass 1 (detections->allSources)
    319326    psphotExtendedSourceFits (config, view, filerule); // pass 1 (detections->allSources)
  • branches/eam_branches/ipp-20130904/psphot/src/psphotSourceFits.c

    r36327 r36330  
    10551055    PAR[PM_PAR_7] = Smin;
    10561056
     1057    // XXX I could set the error on PAR_7 here if I knew how to roughly convert these chisq values to true chisq values
     1058
    10571059    // return to the original fitting mode (fitOptions)
    10581060    pmPCMupdate(pcm, source, fitOptions, model);
Note: See TracChangeset for help on using the changeset viewer.