- 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_0.c
r20937 r27838 208 208 pmPSF_AxesToModel (PAR, axes); 209 209 210 float lflux = psMetadataLookupF32 (&status, row, "PEAK_FLUX_AS_MAG"); 211 float flux = (isfinite(lflux)) ? pow(10.0, -0.4*lflux) : NAN; 212 source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], flux, PM_PEAK_LONE); 213 source->peak->flux = flux; 210 float peakMag = psMetadataLookupF32 (&status, row, "PEAK_FLUX_AS_MAG"); 211 float peakFlux = (isfinite(peakMag)) ? pow(10.0, -0.4*peakMag) : NAN; 212 213 source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], peakFlux, PM_PEAK_LONE); 214 source->peak->flux = peakFlux; 215 source->peak->dx = dPAR[PM_PAR_XPOS]; 216 source->peak->dy = dPAR[PM_PAR_YPOS]; 214 217 215 218 source->pixWeight = psMetadataLookupF32 (&status, row, "PSF_QF");
Note:
See TracChangeset
for help on using the changeset viewer.
