Changeset 25754 for trunk/psModules/src/objects/pmSourceIO_CMF_PS1_V2.c
- Timestamp:
- Oct 2, 2009, 3:11:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_CMF_PS1_V2.c
r24403 r25754 128 128 nDOF = model->nDOF; 129 129 nPix = model->nPix; 130 apRadius = model->radiusFit; // XXX should we really use the fitRadius for aperture Radius?130 apRadius = source->apRadius; 131 131 errMag = model->dparams->data.F32[PM_PAR_I0] / model->params->data.F32[PM_PAR_I0]; 132 132 } else { … … 308 308 source->crNsigma = psMetadataLookupF32 (&status, row, "CR_NSIGMA"); 309 309 source->extNsigma = psMetadataLookupF32 (&status, row, "EXT_NSIGMA"); 310 source->apRadius = psMetadataLookupS32 (&status, row, "AP_MAG_RADIUS"); 310 311 311 312 // note that some older versions used PSF_PROBABILITY: this was not well defined. … … 313 314 model->nDOF = psMetadataLookupS32 (&status, row, "PSF_NDOF"); 314 315 model->nPix = psMetadataLookupS32 (&status, row, "PSF_NPIX"); 315 model->radiusFit = psMetadataLookupS32 (&status, row, "AP_MAG_RADIUS");316 316 317 317 source->moments = pmMomentsAlloc (); … … 353 353 354 354 // which extended source analyses should we perform? 355 bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN");356 bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL");357 bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI");358 bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON");355 // bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN"); 356 // bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL"); 357 // bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI"); 358 // bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON"); 359 359 360 360 psVector *radialBinsLower = psMetadataLookupPtr (&status, recipe, "RADIAL.ANNULAR.BINS.LOWER"); … … 396 396 psMetadataAdd (row, PS_LIST_TAIL, "Y_EXT_SIG", PS_DATA_F32, "Sigma in EXT y coordinate", yErr); 397 397 398 # if (0) 398 399 // Petrosian measurements 399 400 // XXX insert header data: petrosian ref radius, flux ratio … … 476 477 } 477 478 479 # endif 478 480 psArrayAdd (table, 100, row); 479 481 psFree (row);
Note:
See TracChangeset
for help on using the changeset viewer.
