IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2011, 9:00:06 AM (15 years ago)
Author:
eugene
Message:

need to guess models for matched detections in order to get forced photometry -- this meant modifying psphotGuessModels to work on the allSources, not newSources and to test if the guess had previously been performed; updates to radial profile analysis to get smoother Krons -- this now agrees very well with sextractor (though my apertures are slightly smaller and not elliptical)

Location:
trunk/psphot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src

  • trunk/psphot/src/psphotReadout.c

    r32695 r32996  
    127127    // psphotLoadExtSources (config, view, filerule); // pass 1
    128128
    129     // construct an initial model for each object, set the radius to fitRadius, set circular
    130     // fit mask (detections->newSources)
    131     psphotGuessModels (config, view, filerule); // pass 1
    132 
    133129    // merge the newly selected sources into the existing list
    134130    // NOTE: merge OLD and NEW
    135131    psphotMergeSources (config, view, filerule);
     132
     133    // Construct an initial model for each object, set the radius to fitRadius, set circular
     134    // fit mask.  NOTE: only applied to sources without guess models
     135    psphotGuessModels (config, view, filerule); // pass 1
    136136
    137137    // linear PSF fit to source peaks, subtract the models from the image (in PSF mask)
     
    193193        }
    194194
    195         // create full input models, set the radius to fitRadius, set circular fit mask
    196         // NOTE: apply only to detections->newSources
    197         psphotGuessModels (config, view, filerule); // pass 2 (detections->newSources)
    198 
    199195        // replace all sources so fit below applies to all at once
    200196        // NOTE: apply only to OLD sources (which have been subtracted)
     
    205201        // XXX check on free of sources...
    206202        psphotMergeSources (config, view, filerule); // (detections->newSources + detections->allSources -> detections->allSources)
     203
     204        // Construct an initial model for each object, set the radius to fitRadius, set circular
     205        // fit mask.  NOTE: only applied to sources without guess models
     206        psphotGuessModels (config, view, filerule); // pass 1
    207207
    208208        // NOTE: apply to ALL sources
     
    234234        }
    235235
    236         // create full input models, set the radius to fitRadius, set circular fit mask
    237         // NOTE: apply only to detections->newSources
    238         psphotGuessModels (config, view, filerule); // pass 2 (detections->newSources)
    239 
    240236        // replace all sources so fit below applies to all at once
    241237        // NOTE: apply only to OLD sources (which have been subtracted)
     
    247243        psphotMergeSources (config, view, filerule); // (detections->newSources + detections->allSources -> detections->allSources)
    248244
     245        // Construct an initial model for each object, set the radius to fitRadius, set circular
     246        // fit mask.  NOTE: only applied to sources without guess models
     247        psphotGuessModels (config, view, filerule); // pass 1
     248
    249249        // NOTE: apply to ALL sources
    250250        psphotFitSourcesLinear (config, view, filerule, true); // pass 3 (detections->allSources)
Note: See TracChangeset for help on using the changeset viewer.