- Timestamp:
- May 3, 2010, 8:45:22 AM (16 years ago)
- Location:
- branches/simmosaic_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simmosaic_branches
- Property svn:mergeinfo changed
-
branches/simmosaic_branches/psModules
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/psModules merged eligible /branches/eam_branches/stackphot.20100406/psModules 27623-27653 /branches/pap_delete/psModules 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simmosaic_branches/psModules/src/objects/pmSourceIO_PS1_DEV_1.c
r21516 r27839 252 252 pmPSF_AxesToModel (PAR, axes); 253 253 254 float lflux = psMetadataLookupF32 (&status, row, "PEAK_FLUX_AS_MAG"); 255 float flux = (isfinite(lflux)) ? pow(10.0, -0.4*lflux) : NAN; 256 source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], flux, PM_PEAK_LONE); 257 source->peak->flux = flux; 254 float peakMag = psMetadataLookupF32 (&status, row, "PEAK_FLUX_AS_MAG"); 255 float peakFlux = (isfinite(peakMag)) ? pow(10.0, -0.4*peakMag) : NAN; 256 257 source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], peakFlux, PM_PEAK_LONE); 258 source->peak->flux = peakFlux; 259 source->peak->dx = dPAR[PM_PAR_XPOS]; 260 source->peak->dy = dPAR[PM_PAR_YPOS]; 258 261 259 262 source->pixWeight = psMetadataLookupF32 (&status, row, "PSF_QF"); … … 300 303 301 304 // which extended source analyses should we perform? 302 bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN");303 bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL");304 bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI");305 bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON");305 // bool doPetrosian = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_PETROSIAN"); 306 // bool doIsophotal = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ISOPHOTAL"); 307 // bool doAnnuli = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_ANNULI"); 308 // bool doKron = psMetadataLookupBool (&status, recipe, "EXTENDED_SOURCE_KRON"); 306 309 307 310 psVector *radialBinsLower = psMetadataLookupPtr (&status, recipe, "RADIAL.ANNULAR.BINS.LOWER"); … … 343 346 psMetadataAdd (row, PS_LIST_TAIL, "Y_EXT_SIG", PS_DATA_F32, "Sigma in EXT y coordinate", yErr); 344 347 348 // XXX disable these outputs until we clean up the names 349 # if (0) 345 350 // Petrosian measurements 346 351 // XXX insert header data: petrosian ref radius, flux ratio … … 422 427 } 423 428 } 429 # endif 424 430 425 431 psArrayAdd (table, 100, row);
Note:
See TracChangeset
for help on using the changeset viewer.
