Changeset 8882 for trunk/psModules/src/objects/pmSourceIO_CMP.c
- Timestamp:
- Sep 22, 2006, 2:29:31 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO_CMP.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_CMP.c
r8815 r8882 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-09- 15 09:49:01$5 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-09-22 12:24:38 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 116 116 117 117 type = pmSourceDophotType (source); 118 lsky = (PAR[ 0] < 1.0) ? 0.0 : log10(PAR[0]);119 120 shape.sx = PAR[ 4];121 shape.sy = PAR[ 5];122 shape.sxy = PAR[ 6];118 lsky = (PAR[PM_PAR_SKY] < 1.0) ? 0.0 : log10(PAR[PM_PAR_SKY]); 119 120 shape.sx = PAR[PM_PAR_SXX]; 121 shape.sy = PAR[PM_PAR_SYY]; 122 shape.sxy = PAR[PM_PAR_SXY]; 123 123 axes = psEllipseShapeToAxes (shape); 124 124 125 125 psLineInit (line); 126 psLineAdd (line, "%6.1f ", PAR[ 2]);127 psLineAdd (line, "%6.1f ", PAR[ 3]);126 psLineAdd (line, "%6.1f ", PAR[PM_PAR_XPOS]); 127 psLineAdd (line, "%6.1f ", PAR[PM_PAR_YPOS]); 128 128 psLineAdd (line, "%6.3f ", PS_MIN (99.0, source->psfMag + ZERO_POINT)); 129 129 psLineAdd (line, "%03d ", PS_MIN (999, (int)(1000*source->errMag))); … … 253 253 dPAR = model->dparams->data.F32; 254 254 255 PAR[ 0]= pow (atof (array->data[5]), 10.0);256 PAR[ 2]= atof (array->data[0]);257 PAR[ 3]= atof (array->data[1]);255 PAR[PM_PAR_SKY] = pow (atof (array->data[5]), 10.0); 256 PAR[PM_PAR_XPOS] = atof (array->data[0]); 257 PAR[PM_PAR_YPOS] = atof (array->data[1]); 258 258 source->psfMag = atof (array->data[2]); 259 259 source->extMag = atof (array->data[6]);
Note:
See TracChangeset
for help on using the changeset viewer.
