- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_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/tap_branches/psModules/src/objects/pmSourceIO_PS1_DEV_1.c
r25754 r27838 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");
Note:
See TracChangeset
for help on using the changeset viewer.
