- Timestamp:
- Apr 24, 2011, 9:47:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110404/psModules/src/objects/pmSourceIO_CMP.c
r29004 r31360 137 137 axes = pmPSF_ModelToAxes (PAR, 20.0); 138 138 139 float errMag = isfinite(source->errMag) ? source->errMag: 999;139 float psfMagErr = isfinite(source->psfMagErr) ? source->psfMagErr : 999; 140 140 141 141 psLineInit (line); … … 143 143 psLineAdd (line, "%6.1f ", PAR[PM_PAR_YPOS]); 144 144 psLineAdd (line, "%6.3f ", PS_MIN (99.0, source->psfMag + ZERO_POINT)); 145 psLineAdd (line, "%03d ", PS_MIN (999, (int) errMag));145 psLineAdd (line, "%03d ", PS_MIN (999, (int)psfMagErr)); 146 146 psLineAdd (line, "%2d ", type); 147 147 psLineAdd (line, "%3.1f ", lsky); … … 280 280 source->psfMag = atof (array->data[2]); 281 281 source->extMag = atof (array->data[6]); 282 source-> errMag= atof (array->data[3]) / 1000.0;282 source->psfMagErr = atof (array->data[3]) / 1000.0; 283 283 source->apMag = atof (array->data[7]); 284 284 axes.major = atof (array->data[8]);
Note:
See TracChangeset
for help on using the changeset viewer.
