IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 5, 2011, 2:30:17 PM (15 years ago)
Author:
eugene
Message:

speed up psphotRadialApertures (mostly by avoiding the large mask reallocation); add profile wings to psphotStackReadout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110906/psphot/src/psphotStackReadout.c

    r32348 r32616  
    168168    psphotFitSourcesLinear (config, view, STACK_SRC, false);
    169169    psphotStackVisualFilerule(config, view, STACK_SRC);
     170
     171    // measure the radial profiles to the sky
     172    psphotRadialProfileWings (config, view, STACK_SRC);
    170173
    171174    // re-measure the kron mags with models subtracted.  this pass starts with a circular
     
    245248pass1finish:
    246249
     250    // measure the radial profiles to the sky (only measures new objects)
     251    psphotRadialProfileWings (config, view, STACK_SRC);
     252
    247253    // re-measure the kron mags with models subtracted
    248254    // psphotKronMasked(config, view, STACK_SRC);
     
    254260
    255261    psMemDump("psfstats");
     262
     263    // XXX *** NOTE : this should happen above before the last psphotFitSourcesLinear in order
     264    // to generate psf forced photometry for the undetected sources
    256265
    257266    // generate the objects (objects unify the sources from the different images)
     
    281290
    282291    // measure circular, radial apertures (objects sorted by S/N)
    283     // XXX can we just use psphotRadialApertures
    284     // XXX make sure the headers are consistent with this (which PSF convolutions, ie mark 'none')
    285     // psphotRadialAperturesByObject (config, objectsRadial, view, STACK_SRC, nMatchedPSF);
     292    // this forces photometry on the undetected sources from other images
    286293    psphotRadialApertures (config, view, STACK_SRC, 0); // XXX entry 0 == unmatched?
    287294    psMemDump("extmeas");
Note: See TracChangeset for help on using the changeset viewer.