IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 6, 2011, 1:32:31 PM (15 years ago)
Author:
eugene
Message:
  • clarified the output to show the stages and their timing more clearly
  • psphotStackReadout now uses the same functions as psphotReadout (deprecated FitLinearStack, ExtendedAnalysisByObject, RadialAnalysisByObject, etc)
  • psphotStack now does 2nd (5 sigma) detection pass and radial photometry of the un-matched image (as well as the matched images)
  • for speed, fitting uses a smaller subset of pixels than subtraction: the model is extended when the subtraction is performed to avoid a discontinuity
  • extended source analysis (petrosians) is threaded
  • iterative kron radius / magnitude analysis with down-weighted neighbors replaces the masked neighbor kron analysis. the result of this analysis is used by fitting guesses and is the value written to the PSF and XFIT tables.
  • the target matched PSFs are determined in advance and the 0 element of this array is always the unmatched image (with target PSF of NAN)
  • dQ, the difference between the upper and lower quartile, is measured (but not yet used to adjust the sky level. sky should be FITTED_MEAN - 2.5*dQ
  • fake sources inserted for the efficiency analysis are removed at the end of the analysis
  • radial apertures is now threaded
  • edge case petrosian mags are now handled without aborts (may still have a problem with the measured error of the petrosian radius)
  • new sersic model guess based on the psf size, the moments, and the kron flux. the psf - kron mag is used to guess the index, then the index is used to convert measured moments into model guess parameters. this uses empirical relationships between the quantities generated from fake images.
  • define the fit region and window region based on the 1st radial moments
  • use the kron S/N to determine if analysis is performed for extended sources, not the psf S/N
  • remove the old 'basic deblend' which did not really do any deblending and is superceeded by the deblending in KronIterate and the footprint analysis
Location:
trunk/psphot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src

    • Property svn:ignore
      •  

        old new  
        2222psphotMakePSF
        2323psphotStack
         24psphotModelTest
  • trunk/psphot/src/psphotSourceSize.c

    r31452 r32348  
    4545    bool status = true;
    4646
     47    fprintf (stdout, "\n");
     48    psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Source Size ---");
     49
    4750    // select the appropriate recipe information
    4851    psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, PSPHOT_RECIPE);
     
    209212        pmSourceMagnitudes (source, psf, photMode, maskVal, markVal, source->apRadius);
    210213
    211         float kMag = -2.5*log10(source->moments->KronFlux);
     214        float kMag = -2.5*log10(source->moments->KronFluxPSF);
    212215        float dMag = source->psfMag - kMag;
    213216
     
    334337        psF32 Mxy = source->moments->Mxy;
    335338
    336         float KronMag = -2.5*log10(source->moments->KronFlux);
     339        float KronMag = -2.5*log10(source->moments->KronFluxPSF);
    337340
    338341        float Mminor = 0.5*(Mxx + Myy) - 0.5*sqrt(PS_SQR(Mxx - Myy) + 4.0*PS_SQR(Mxy));
     
    509512        pmSourceSub (source, PM_MODEL_OP_FULL, options->maskVal);
    510513
    511         float kMag = -2.5*log10(source->moments->KronFlux);
     514        float kMag = -2.5*log10(source->moments->KronFluxPSF);
    512515        float dMag = source->psfMag - kMag;
    513516
Note: See TracChangeset for help on using the changeset viewer.