IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 22, 2010, 6:21:31 PM (16 years ago)
Author:
eugene
Message:

pcm (psf-convolved model) fitting now works (but needs to go faster)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/psphot/src/psphotSourceSize.c

    r28692 r28702  
    170170    psVector *ApErr = psVectorAllocEmpty (100, PS_TYPE_F32);
    171171
     172    psImageMaskType markVal = options->markVal;
    172173    psImageMaskType maskVal = options->maskVal | options->markVal;
    173174
     
    295296    pmSourcePhotometryMode photMode = PM_SOURCE_PHOT_WEIGHT;
    296297
     298    psImageMaskType markVal = options->markVal;
    297299    psImageMaskType maskVal = options->maskVal | options->markVal;
    298300
     
    364366        float nSigmaMYY = (Myy - psfClump->Y) / hypot(psfClump->dY, psfClump->Y*psfClump->Y*source->errMag);
    365367
    366         fprintf (stderr, "%f %f : Mxx: %f, Myy: %f, dx: %f, dy: %f, psfMag: %f, apMag: %f, dMag: %f, errMag: %f, nSigmaMag: %f\n",
     368        fprintf (stderr, "%f %f : Mxx: %f, Myy: %f, dx: %f, dy: %f, psfMag: %f, apMag: %f, dMag: %f, errMag: %f, nSigmaMag: %f, nSigmaMxx: %f, nSigmaMyy: %f\n",
    367369                 source->peak->xf, source->peak->yf, Mxx, Myy, source->peak->xf - source->moments->Mx, source->peak->yf - source->moments->My,
    368                  source->psfMag, apMag, dMag, source->errMag, nSigmaMAG);
     370                 source->psfMag, apMag, dMag, source->errMag, nSigmaMAG, nSigmaMXX, nSigmaMYY);
    369371
    370372        // partially-masked sources are more likely to be mis-measured PSFs
Note: See TracChangeset for help on using the changeset viewer.