Changeset 13064 for trunk/psModules/src/objects/pmSourceIO_CMP.c
- Timestamp:
- Apr 27, 2007, 12:14:08 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceIO_CMP.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceIO_CMP.c
r13034 r13064 3 3 * @author EAM, IfA 4 4 * 5 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $6 * @date $Date: 2007-04-2 6 01:20:29$5 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2007-04-27 22:14:08 $ 7 7 * 8 8 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 53 53 float lsky = 0; 54 54 bool status; 55 psEllipseShape shape;56 55 psEllipseAxes axes; 57 56 … … 119 118 lsky = (source->sky < 1.0) ? 0.0 : log10(source->sky); 120 119 121 shape.sx = PAR[PM_PAR_SXX]; 122 shape.sy = PAR[PM_PAR_SYY]; 123 shape.sxy = PAR[PM_PAR_SXY]; 124 axes = psEllipseShapeToAxes (shape, 20.0); 120 axes = pmPSF_ModelToAxes (PAR, 20.0); 125 121 126 122 float errMag = isfinite(source->errMag) ? source->errMag : 999; … … 155 151 int Ninstar; 156 152 psF32 *PAR, *dPAR; 157 psEllipseShape shape;158 153 psEllipseAxes axes; 159 154 … … 274 269 goto skip_source; 275 270 276 shape = psEllipseAxesToShape (axes); 277 278 PAR[PM_PAR_SXX] = shape.sx; 279 PAR[PM_PAR_SYY] = shape.sy; 280 PAR[PM_PAR_SXY] = shape.sxy; 271 pmPSF_AxesToModel (PAR, axes); 281 272 282 273 psArrayAdd (sources, 100, source);
Note:
See TracChangeset
for help on using the changeset viewer.
