Changeset 8882 for trunk/psModules/src/objects/pmSourceIO_OBJ.c
- Timestamp:
- Sep 22, 2006, 2:29:31 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO_OBJ.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_OBJ.c
r8815 r8882 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $6 * @date $Date: 2006-09- 15 09:49:01$5 * @version $Revision: 1.5 $ $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 … … 62 62 dPAR = model->dparams->data.F32; 63 63 64 dmag = dPAR[ 1] / PAR[1];64 dmag = dPAR[PM_PAR_FLUX] / PAR[PM_PAR_FLUX]; 65 65 type = pmSourceDophotType (source); 66 66 if ((source->apMag < 99.0) && (source->psfMag < 99.0)) { … … 70 70 } 71 71 72 shape.sx = PAR[ 4];73 shape.sy = PAR[ 5];74 shape.sxy = PAR[ 6];72 shape.sx = PAR[PM_PAR_SXX]; 73 shape.sy = PAR[PM_PAR_SYY]; 74 shape.sxy = PAR[PM_PAR_SXY]; 75 75 axes = psEllipseShapeToAxes (shape); 76 76 77 77 psLineInit (line); 78 78 psLineAdd (line, "%3d", type); 79 psLineAdd (line, "%8.2f", PAR[ 2]);80 psLineAdd (line, "%8.2f", PAR[ 3]);79 psLineAdd (line, "%8.2f", PAR[PM_PAR_XPOS]); 80 psLineAdd (line, "%8.2f", PAR[PM_PAR_YPOS]); 81 81 psLineAdd (line, "%8.3f", source->psfMag); 82 82 psLineAdd (line, "%6.3f", dmag); 83 psLineAdd (line, "%9.2f", PAR[ 0]);83 psLineAdd (line, "%9.2f", PAR[PM_PAR_SKY]); 84 84 psLineAdd (line, "%9.3f", axes.major); 85 85 psLineAdd (line, "%9.3f", axes.minor);
Note:
See TracChangeset
for help on using the changeset viewer.
