Changeset 32348 for trunk/psphot/src/psphotSourceSize.c
- Timestamp:
- Sep 6, 2011, 1:32:31 PM (15 years ago)
- Location:
- trunk/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
-
trunk/psphot/src
- Property svn:ignore
-
old new 22 22 psphotMakePSF 23 23 psphotStack 24 psphotModelTest
-
- Property svn:ignore
-
trunk/psphot/src/psphotSourceSize.c
r31452 r32348 45 45 bool status = true; 46 46 47 fprintf (stdout, "\n"); 48 psLogMsg ("psphot", PS_LOG_INFO, "--- psphot Source Size ---"); 49 47 50 // select the appropriate recipe information 48 51 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSPHOT_RECIPE); … … 209 212 pmSourceMagnitudes (source, psf, photMode, maskVal, markVal, source->apRadius); 210 213 211 float kMag = -2.5*log10(source->moments->KronFlux );214 float kMag = -2.5*log10(source->moments->KronFluxPSF); 212 215 float dMag = source->psfMag - kMag; 213 216 … … 334 337 psF32 Mxy = source->moments->Mxy; 335 338 336 float KronMag = -2.5*log10(source->moments->KronFlux );339 float KronMag = -2.5*log10(source->moments->KronFluxPSF); 337 340 338 341 float Mminor = 0.5*(Mxx + Myy) - 0.5*sqrt(PS_SQR(Mxx - Myy) + 4.0*PS_SQR(Mxy)); … … 509 512 pmSourceSub (source, PM_MODEL_OP_FULL, options->maskVal); 510 513 511 float kMag = -2.5*log10(source->moments->KronFlux );514 float kMag = -2.5*log10(source->moments->KronFluxPSF); 512 515 float dMag = source->psfMag - kMag; 513 516
Note:
See TracChangeset
for help on using the changeset viewer.
